-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: route_table reports Amazon FSx for NetApp ONTAP service routes and tag as configuration change #21246
Comments
Working on it |
% terraform plan
...
# aws_route_table.test has been changed
~ resource "aws_route_table" "test" {
id = "rtb-057a228c2dd86416e"
~ route = [
+ {
+ carrier_gateway_id = ""
+ cidr_block = "198.19.255.23/32"
+ destination_prefix_list_id = ""
+ egress_only_gateway_id = ""
+ gateway_id = ""
+ instance_id = ""
+ ipv6_cidr_block = ""
+ local_gateway_id = ""
+ nat_gateway_id = ""
+ network_interface_id = "eni-0993c2d317e67588a"
+ transit_gateway_id = ""
+ vpc_endpoint_id = ""
+ vpc_peering_connection_id = ""
},
# (1 unchanged element hidden)
]
~ tags = {
+ "AmazonFSx" = "ManagedByAmazonFSx"
# (1 unchanged element hidden)
}
~ tags_all = {
+ "AmazonFSx" = "ManagedByAmazonFSx"
# (1 unchanged element hidden)
}
# (4 unchanged attributes hidden)
}
... |
provider "aws" {
ignore_tags {
keys = ["AmazonFSx"]
}
} will fix the |
To address the |
Thanks @ewbankkit, I think the trouble is we can't guarantee how a customer may have their network definitions setup in terraform. The provided config is just one easy example but the customer could have many different network configurations and whoever is managing the network configuration may or may not be aware of the FSx configuration. It may be two different teams managing FSx and the network definition. |
I ran a Whois on that address range - https://search.arin.net/rdap/?query=198.19.255.23%2F32 - and:
|
These are used internally, not over the internet. |
This functionality has been released in v3.64.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v1.0.8
aws v3.62.0
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Expected Behavior
When running a
terraform plan
after deploying an aws_fsx_ontap_file_system resource and specifying a terraform managed route_table the output should be "No changes. Your infrastructure matches the configuration."Actual Behavior
FSx route that is managed by the Amazon FSx for NetApp ONTAP in route table and FSX tag shows as changed.
"aws_route_table.PrivateRT will be updated in-place"
~ resource "aws_route_table" "PrivateRT" {
~ route = [
~ tags = {
~ tags_all = {
"Plan: 0 to add, 1 to change, 0 to destroy."
Steps to Reproduce
terraform apply
terraform plan
References
The text was updated successfully, but these errors were encountered: