fix: add deprecation notice for the vpn_gateways input#1041
Conversation
…raform-ibm-landing-zone-vpc into deprecate_refs
|
/run pipeline |
…raform-ibm-landing-zone-vpc into deprecate_refs
|
Marked this as major release as per the comment given in the internal issue i.e. getting the new major version released with a migration guide. |
|
/run pipeline |
|
/run pipeline |
|
/run pipeline |
vpn_gateways input
ocofaigh
left a comment
There was a problem hiding this comment.
@imprateeksh You didn't add the ignore to all tests. The TestFullyConfigurableWithFlowLogs test failed with:
Messages: Resource(s) identified to be destroyed
Name: deprecation_warning
Address: module.vpc.terraform_data.deprecation_warning[0]
Actions: [delete create]
DIFF:
Before:
{"id":"574c7dfe-7846-a7a8-0a22-39e4fa5e2f08","triggers_replace":{"always_run":"2026-01-16T21:31:24Z"}}
After:
{"triggers_replace":{}}
|
/run pipeline |
|
PR failures are now seen with different errors:
|
|
@imprateeksh There is a bug (here) in the code - the VPC region function should not be failing the tests. @Khuzaima05 is going to fix it in #1082 |
|
I am seeing one deprecate notice related failure in other repo - terraform-ibm-modules/terraform-ibm-observability-da#577 (comment) Is something missing here? |
|
/run pipeline |
|
Failed with: Unrelated to changes in this Pr, so retrying.. |
|
/run pipeline |
|
🎉 This PR is included in version 8.11.2 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
|
@imprateeksh It seems you missed adding this to the IgnoreDestroy: fixed in #1113 |





Description
This PR is to include the documentation about the deprecation of in-module VPN gateway provisioning in the Landing Zone VPC module mentioning about planned removal in upcoming release. The intention is to remove the direct usage of resource in root module and consume site to site VPN module.
Release required?
x.x.X)x.X.x)X.x.x)Release notes content
Resource address changes:
Root‑level
ibm_is_vpn_gatewayresource will be refactored into thevpn_gatewaysmodule. Once this is done, users must migrate state usingterraform state mvcommand to avoid recreation ofibm_is_vpn_gatewayresource.Example:
terraform state mv \ 'module.slz_vpc.ibm_is_vpn_gateway.vpn_gateway["vpg1"]' \ 'module.slz_vpc.module.vpn_gateways["vpg1"].ibm_is_vpn_gateway.vpn_gateway[0]'For more details about the migration of vpn gateway resources, please refer the migration guide.
Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
Checklist for reviewers
For mergers