You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
When changing the name attribute on ibm_is_subnet_reserved_ip and running an apply the changes to the environment should be reflected in the state file.
Actual Behavior
The changes are not stored in the state file, so subsequent applies always have changes to make.
Steps to Reproduce
terraform plan
change the name value in the source code
terraform apply
terraform plan shows that changes are required (this should not happen)
[work around / fix] terraform refresh (this should not be required)
Example partial output from those steps
No changes. Your infrastructure matches the configuration
# module.vpes.ibm_is_subnet_reserved_ip.ip["vpe-vpc-instance-subnet-c-postgresql-gateway-3-ip"] will be updated in-place
~ resource"ibm_is_subnet_reserved_ip""ip" {
id="0737-6588cd82-3071-4d1e-8537-ca188044f700/0737-59ddbfa0-e6dc-422f-8ef5-114aa7f36a96"
~ name="shucking-graffiti-creamlike-idealist"->"vpe-vpc-instance-postgresql-3"# (11 unchanged attributes hidden)
}
...
module.vpes.ibm_is_subnet_reserved_ip.ip["vpe-vpc-instance-subnet-c-postgresql-gateway-3-ip"]: Modifying... [id=0737-6588cd82-3071-4d1e-8537-ca188044f700/0737-59ddbfa0-e6dc-422f-8ef5-114aa7f36a96]
...
module.vpes.ibm_is_subnet_reserved_ip.ip["vpe-vpc-instance-subnet-c-postgresql-gateway-3-ip"]: Modifications complete after 2s [id=0737-6588cd82-3071-4d1e-8537-ca188044f700/0737-59ddbfa0-e6dc-422f-8ef5-114aa7f36a96]
Changes to Outputs:
~ vpe_ips={
~ vpe-vpc-instance-postgresql = [
~ {
id ="0737-59ddbfa0-e6dc-422f-8ef5-114aa7f36a96"
~ name ="shucking-graffiti-creamlike-idealist"->"vpe-vpc-instance-postgresql-3"# (2 unchanged attributes hidden)
},
]
Important Factoids
This is a change in the outputs. The resources themselves appear to have been updated.
Community Note
Terraform CLI and Terraform IBM Provider Version
Affected Resource(s)
Terraform Configuration Files
https://github.com/terraform-ibm-modules/terraform-ibm-vpe-gateway/blob/v4.0.1/main.tf#L72
Debug Output
Panic Output
Expected Behavior
When changing the
name
attribute on ibm_is_subnet_reserved_ip and running an apply the changes to the environment should be reflected in the state file.Actual Behavior
The changes are not stored in the state file, so subsequent applies always have changes to make.
Steps to Reproduce
terraform plan
name
value in the source codeterraform apply
terraform plan
shows that changes are required (this should not happen)terraform refresh
(this should not be required)Example partial output from those steps
No changes. Your infrastructure matches the configuration
Important Factoids
This is a change in the outputs. The resources themselves appear to have been updated.
References
The text was updated successfully, but these errors were encountered: