Created
July 31, 2021 20:43
-
-
Save joey-coleman/e5e9b6c5601ca1bd5218ac3ad57fb2ae to your computer and use it in GitHub Desktop.
"Inconsistent final plan" minimal example output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ terraform apply | |
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: | |
+ create | |
<= read (data resources) | |
Terraform will perform the following actions: | |
# module.peering_ca-central-1_us-east-1.data.aws_ec2_transit_gateway.dst will be read during apply | |
# (config refers to values not yet known) | |
<= data "aws_ec2_transit_gateway" "dst" { | |
+ amazon_side_asn = (known after apply) | |
+ arn = (known after apply) | |
+ association_default_route_table_id = (known after apply) | |
+ auto_accept_shared_attachments = (known after apply) | |
+ default_route_table_association = (known after apply) | |
+ default_route_table_propagation = (known after apply) | |
+ description = (known after apply) | |
+ dns_support = (known after apply) | |
+ id = (known after apply) | |
+ owner_id = (known after apply) | |
+ propagation_default_route_table_id = (known after apply) | |
+ tags = (known after apply) | |
+ vpn_ecmp_support = (known after apply) | |
} | |
# module.peering_ca-central-1_us-east-1.data.aws_ec2_transit_gateway.src will be read during apply | |
# (config refers to values not yet known) | |
<= data "aws_ec2_transit_gateway" "src" { | |
+ amazon_side_asn = (known after apply) | |
+ arn = (known after apply) | |
+ association_default_route_table_id = (known after apply) | |
+ auto_accept_shared_attachments = (known after apply) | |
+ default_route_table_association = (known after apply) | |
+ default_route_table_propagation = (known after apply) | |
+ description = (known after apply) | |
+ dns_support = (known after apply) | |
+ id = (known after apply) | |
+ owner_id = (known after apply) | |
+ propagation_default_route_table_id = (known after apply) | |
+ tags = (known after apply) | |
+ vpn_ecmp_support = (known after apply) | |
} | |
# module.peering_ca-central-1_us-east-1.data.aws_ec2_transit_gateway_route_table.dst will be read during apply | |
# (config refers to values not yet known) | |
<= data "aws_ec2_transit_gateway_route_table" "dst" { | |
+ arn = (known after apply) | |
+ default_association_route_table = (known after apply) | |
+ default_propagation_route_table = (known after apply) | |
+ id = (known after apply) | |
+ tags = (known after apply) | |
+ transit_gateway_id = (known after apply) | |
+ filter { | |
+ name = "tag:Type" | |
+ values = [ | |
+ "Peer", | |
] | |
} | |
+ filter { | |
+ name = "transit-gateway-id" | |
+ values = [ | |
+ (known after apply), | |
] | |
} | |
} | |
# module.peering_ca-central-1_us-east-1.data.aws_ec2_transit_gateway_route_table.src will be read during apply | |
# (config refers to values not yet known) | |
<= data "aws_ec2_transit_gateway_route_table" "src" { | |
+ arn = (known after apply) | |
+ default_association_route_table = (known after apply) | |
+ default_propagation_route_table = (known after apply) | |
+ id = (known after apply) | |
+ tags = (known after apply) | |
+ transit_gateway_id = (known after apply) | |
+ filter { | |
+ name = "tag:Type" | |
+ values = [ | |
+ "Peer", | |
] | |
} | |
+ filter { | |
+ name = "transit-gateway-id" | |
+ values = [ | |
+ (known after apply), | |
] | |
} | |
} | |
# module.peering_ca-central-1_us-east-1.data.aws_region.dst will be read during apply | |
# (config refers to values not yet known) | |
<= data "aws_region" "dst" { | |
+ description = (known after apply) | |
+ endpoint = (known after apply) | |
+ id = (known after apply) | |
+ name = (known after apply) | |
} | |
# module.peering_ca-central-1_us-east-1.data.aws_region.src will be read during apply | |
# (config refers to values not yet known) | |
<= data "aws_region" "src" { | |
+ description = (known after apply) | |
+ endpoint = (known after apply) | |
+ id = (known after apply) | |
+ name = (known after apply) | |
} | |
# module.peering_ca-central-1_us-east-1.aws_ec2_transit_gateway_peering_attachment.src will be created | |
+ resource "aws_ec2_transit_gateway_peering_attachment" "src" { | |
+ id = (known after apply) | |
+ peer_account_id = (known after apply) | |
+ peer_region = (known after apply) | |
+ peer_transit_gateway_id = (known after apply) | |
+ tags = (known after apply) | |
+ tags_all = { | |
+ "Name" = "Default Name" | |
} | |
+ transit_gateway_id = (known after apply) | |
} | |
# module.tgw_dst.aws_ec2_transit_gateway.tgw will be created | |
+ resource "aws_ec2_transit_gateway" "tgw" { | |
+ amazon_side_asn = 64513 | |
+ arn = (known after apply) | |
+ association_default_route_table_id = (known after apply) | |
+ auto_accept_shared_attachments = "disable" | |
+ default_route_table_association = "disable" | |
+ default_route_table_propagation = "disable" | |
+ description = "TGW in us-east-1" | |
+ dns_support = "enable" | |
+ id = (known after apply) | |
+ owner_id = (known after apply) | |
+ propagation_default_route_table_id = (known after apply) | |
+ tags_all = { | |
+ "Name" = "Default Name" | |
} | |
+ vpn_ecmp_support = "enable" | |
} | |
# module.tgw_dst.aws_ec2_transit_gateway_route_table.peer will be created | |
+ resource "aws_ec2_transit_gateway_route_table" "peer" { | |
+ arn = (known after apply) | |
+ default_association_route_table = (known after apply) | |
+ default_propagation_route_table = (known after apply) | |
+ id = (known after apply) | |
+ tags = { | |
+ "Name" = "Peer TGW-RTB" | |
+ "Type" = "Peer" | |
} | |
+ tags_all = { | |
+ "Name" = "Peer TGW-RTB" | |
+ "Type" = "Peer" | |
} | |
+ transit_gateway_id = (known after apply) | |
} | |
# module.tgw_src.aws_ec2_transit_gateway.tgw will be created | |
+ resource "aws_ec2_transit_gateway" "tgw" { | |
+ amazon_side_asn = 64512 | |
+ arn = (known after apply) | |
+ association_default_route_table_id = (known after apply) | |
+ auto_accept_shared_attachments = "disable" | |
+ default_route_table_association = "disable" | |
+ default_route_table_propagation = "disable" | |
+ description = "TGW in ca-central-1" | |
+ dns_support = "enable" | |
+ id = (known after apply) | |
+ owner_id = (known after apply) | |
+ propagation_default_route_table_id = (known after apply) | |
+ tags_all = { | |
+ "Name" = "Default Name" | |
} | |
+ vpn_ecmp_support = "enable" | |
} | |
# module.tgw_src.aws_ec2_transit_gateway_route_table.peer will be created | |
+ resource "aws_ec2_transit_gateway_route_table" "peer" { | |
+ arn = (known after apply) | |
+ default_association_route_table = (known after apply) | |
+ default_propagation_route_table = (known after apply) | |
+ id = (known after apply) | |
+ tags = { | |
+ "Name" = "Peer TGW-RTB" | |
+ "Type" = "Peer" | |
} | |
+ tags_all = { | |
+ "Name" = "Peer TGW-RTB" | |
+ "Type" = "Peer" | |
} | |
+ transit_gateway_id = (known after apply) | |
} | |
Plan: 5 to add, 0 to change, 0 to destroy. | |
Do you want to perform these actions? | |
Terraform will perform the actions described above. | |
Only 'yes' will be accepted to approve. | |
Enter a value: yes | |
module.tgw_src.aws_ec2_transit_gateway.tgw: Creating... | |
module.tgw_dst.aws_ec2_transit_gateway.tgw: Creating... | |
module.tgw_src.aws_ec2_transit_gateway.tgw: Still creating... [10s elapsed] | |
module.tgw_dst.aws_ec2_transit_gateway.tgw: Still creating... [10s elapsed] | |
module.tgw_src.aws_ec2_transit_gateway.tgw: Still creating... [20s elapsed] | |
module.tgw_dst.aws_ec2_transit_gateway.tgw: Still creating... [20s elapsed] | |
module.tgw_src.aws_ec2_transit_gateway.tgw: Still creating... [30s elapsed] | |
module.tgw_dst.aws_ec2_transit_gateway.tgw: Still creating... [30s elapsed] | |
module.tgw_src.aws_ec2_transit_gateway.tgw: Still creating... [40s elapsed] | |
module.tgw_dst.aws_ec2_transit_gateway.tgw: Still creating... [40s elapsed] | |
module.tgw_dst.aws_ec2_transit_gateway.tgw: Creation complete after 46s [id=tgw-09a98c0aaa223af91] | |
module.tgw_dst.aws_ec2_transit_gateway_route_table.peer: Creating... | |
module.tgw_src.aws_ec2_transit_gateway.tgw: Still creating... [50s elapsed] | |
module.tgw_src.aws_ec2_transit_gateway.tgw: Creation complete after 55s [id=tgw-05ad6aabdbb1b5928] | |
module.tgw_src.aws_ec2_transit_gateway_route_table.peer: Creating... | |
module.tgw_dst.aws_ec2_transit_gateway_route_table.peer: Still creating... [10s elapsed] | |
module.tgw_src.aws_ec2_transit_gateway_route_table.peer: Still creating... [10s elapsed] | |
module.tgw_dst.aws_ec2_transit_gateway_route_table.peer: Still creating... [20s elapsed] | |
module.tgw_src.aws_ec2_transit_gateway_route_table.peer: Creation complete after 14s [id=tgw-rtb-0b7458fa1acf912ac] | |
module.tgw_dst.aws_ec2_transit_gateway_route_table.peer: Still creating... [30s elapsed] | |
module.tgw_dst.aws_ec2_transit_gateway_route_table.peer: Still creating... [40s elapsed] | |
module.tgw_dst.aws_ec2_transit_gateway_route_table.peer: Still creating... [50s elapsed] | |
module.tgw_dst.aws_ec2_transit_gateway_route_table.peer: Creation complete after 56s [id=tgw-rtb-02068f2bdc2e83616] | |
module.peering_ca-central-1_us-east-1.data.aws_region.src: Reading... | |
module.peering_ca-central-1_us-east-1.data.aws_ec2_transit_gateway.dst: Reading... | |
module.peering_ca-central-1_us-east-1.data.aws_region.dst: Reading... | |
module.peering_ca-central-1_us-east-1.data.aws_ec2_transit_gateway.src: Reading... | |
module.peering_ca-central-1_us-east-1.data.aws_region.src: Read complete after 0s [id=ca-central-1] | |
module.peering_ca-central-1_us-east-1.data.aws_region.dst: Read complete after 0s [id=us-east-1] | |
module.peering_ca-central-1_us-east-1.data.aws_ec2_transit_gateway.src: Read complete after 0s [id=tgw-05ad6aabdbb1b5928] | |
module.peering_ca-central-1_us-east-1.data.aws_ec2_transit_gateway_route_table.src: Reading... | |
module.peering_ca-central-1_us-east-1.data.aws_ec2_transit_gateway.dst: Read complete after 0s [id=tgw-09a98c0aaa223af91] | |
module.peering_ca-central-1_us-east-1.data.aws_ec2_transit_gateway_route_table.dst: Reading... | |
module.peering_ca-central-1_us-east-1.data.aws_ec2_transit_gateway_route_table.src: Read complete after 0s [id=tgw-rtb-0b7458fa1acf912ac] | |
module.peering_ca-central-1_us-east-1.data.aws_ec2_transit_gateway_route_table.dst: Read complete after 0s [id=tgw-rtb-02068f2bdc2e83616] | |
╷ | |
│ Error: Provider produced inconsistent final plan | |
│ | |
│ When expanding the plan for module.peering_ca-central-1_us-east-1.aws_ec2_transit_gateway_peering_attachment.src to include new values learned so far during apply, provider | |
│ "registry.terraform.io/hashicorp/aws" produced an invalid new value for .tags_all["Name"]: was cty.StringVal("Default Name"), but now cty.StringVal("Override Name - 'after apply' | |
│ interpolation us-east-1"). | |
│ | |
│ This is a bug in the provider, which should be reported in the provider's own issue tracker. | |
╵ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment