Skip to content
Discussion options

You must be logged in to vote

Hi @zackproser,

I was able to use terragrunt state list to find the address. It returned:
module.database.aws_security_group_rule.allow_connections_from_cidr_blocks[0], but the command only worked without [0].

PLAN BEFORE IMPORT

  # module.database.aws_security_group_rule.allow_connections_from_cidr_blocks[0] must be replaced
-/+ resource "aws_security_group_rule" "allow_connections_from_cidr_blocks" {
      ~ cidr_blocks              = [ # forces replacement
            # (2 unchanged elements hidden)
            "10.2.96.0/21",
          + "10.8.80.0/21",
          + "10.8.88.0/21",
          + "10.8.96.0/21",
        ]
      ~ id                       = "sgrule-3614096971" -> (known af…

Replies: 6 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by zackproser
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@sewmiuraj
Comment options

@zackproser
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
3 participants