-
Notifications
You must be signed in to change notification settings - Fork 211
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
internet_gateway_route_rules
and nat_gateway_route_rules
changes are ignored
#920
Comments
internet_gateway_route_rules
and nat_gateway_route_rules
are ignoredinternet_gateway_route_rules
and nat_gateway_route_rules
changes are ignored
At this moment, |
Hi, You would only set the ig_route_table and nat_route_table ids if you are using an existing vcn with existing route tables. Further, the route rules only apply if the route tables are being created by the terraform OKE module. If you created them separately, you need to add those rules separately too. |
Thank you for the response.
My comment here was just for information sharing. We set
Yes, route tables ware created by OKE module, and expecting changes to be detected. But they aren't detected as I shared above. |
I added However, when no drg are set, still having the same issue. So at least, the problem I was facing was gone after setting |
This module calls the VCN terraform module for the networking resources. You can see how routing rules are populated here. Please confirm if you still face issues, or if this can be closed. |
Community Note
Terraform Version and Provider Version
Affected Resource(s)
module.{module_name}.module.internet_gateway_route_rules
and
module.{module_name}.module.nat_gateway_route_rules
Terraform Configuration Files
This is just an example. Added rules in
internet_gateway_route_rules
section.Expected Behavior
Chages are detected when terraform plan or apply.
internet_gateway_route_rules are updated by execution.
Docs says it is upgradable. https://registry.terraform.io/modules/oracle-terraform-modules/oke/oci/latest?tab=inputs
Actual Behavior
No changes are detected.
Steps to Reproduce
Add rules to
internet_gateway_route_rules
ornat_gateway_route_rules
. And terraform plan or apply.The text was updated successfully, but these errors were encountered: