Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
20f87ed
doc: deprecation update
imprateeksh Aug 18, 2025
ec46e30
Merge branch 'main' into deprecate_refs
imprateeksh Sep 3, 2025
b89cd4e
Merge branch 'main' into deprecate_refs
imprateeksh Sep 3, 2025
332cc9b
Merge branch 'deprecate_refs' of github.com:terraform-ibm-modules/ter…
imprateeksh Sep 3, 2025
6e10a7a
doc: fixed typos
imprateeksh Sep 3, 2025
89f369a
Merge branch 'main' into deprecate_refs
imprateeksh Sep 8, 2025
61fdf25
Merge branch 'main' into deprecate_refs
imprateeksh Sep 10, 2025
f0479e8
Merge branch 'main' into deprecate_refs
imprateeksh Oct 15, 2025
0151638
Merge branch 'main' into deprecate_refs
imprateeksh Oct 21, 2025
26a2741
Merge branch 'main' into deprecate_refs
imprateeksh Oct 23, 2025
336c01f
Merge branch 'main' into deprecate_refs
imprateeksh Oct 27, 2025
f23ebe9
Merge branch 'main' into deprecate_refs
imprateeksh Nov 27, 2025
a8834ef
Merge branch 'deprecate_refs' of github.com:terraform-ibm-modules/ter…
imprateeksh Nov 27, 2025
723e6c4
fixed typo
imprateeksh Nov 27, 2025
eda44a6
Merge branch 'main' into deprecate_refs
imprateeksh Dec 4, 2025
8129d43
updated variable to use default route value and add migration document
imprateeksh Dec 4, 2025
861af94
Merge branch 'main' into deprecate_refs
imprateeksh Dec 9, 2025
05872ef
addressed review suggestions
imprateeksh Dec 9, 2025
5dd85b3
Merge branch 'main' into deprecate_refs
imprateeksh Jan 13, 2026
090f82b
Merge branch 'main' into deprecate_refs
imprateeksh Jan 16, 2026
c50cc19
added deprecation warning block
imprateeksh Jan 16, 2026
85734d8
Merge branch 'deprecate_refs' of github.com:terraform-ibm-modules/ter…
imprateeksh Jan 16, 2026
9103a35
updated doc
imprateeksh Jan 16, 2026
4f06f04
addressed comments
imprateeksh Jan 16, 2026
8bc632c
fixed warning block
imprateeksh Jan 16, 2026
7993351
test: updated test case to ignore deprecation resource
imprateeksh Jan 16, 2026
2e4ac8b
test: updated test case to ignore deprecation resource
imprateeksh Jan 16, 2026
f3b9e18
Merge branch 'main' into deprecate_refs
imprateeksh Jan 19, 2026
882ce48
test: updated test with ignore attributes
imprateeksh Jan 19, 2026
ba282f2
Merge branch 'main' into deprecate_refs
imprateeksh Jan 20, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,41 @@ module.subnets.ibm_is_vpc_address_prefix.subnet_prefix["gcat-multizone-subnet-b"
module.subnets.ibm_is_vpc_address_prefix.subnet_prefix["gcat-multizone-subnet-c"]
```

## ​ Upgrade Guide: Migrating VPN from Landing Zone VPC Module to Standalone Site-to-Site VPN Module
Comment thread
imprateeksh marked this conversation as resolved.
Outdated

### Overview

The `terraform-ibm-landing-zone-vpc` module previously included built-in VPN provisioning via the `vpn_gateways` variable. That functionality has now been extracted into a dedicated `terraform-ibm-site-to-site-vpn` module for better modularity, flexibility, and maintainability.

> **Note:** The legacy VPN logic within the IBM Cloud Landing Zone VPC module is **deprecated** and will be removed in an upcoming major release.

## Migration Steps

### 1. Retain Legacy Behavior (Deprecated)

If you are still using `vpn_gateways` within the IBM Cloud Landing Zone VPC module, it will continue to work for now. However, you should see a deprecation warning:
Comment thread
imprateeksh marked this conversation as resolved.
Outdated

```hcl
module "landing_zone_vpc" {
source = "terraform-ibm-modules/landing-zone-vpc/ibm"
version = "X.Y.Z"

# Legacy VPN provisioning logic (Deprecated)
vpn_gateways = ["vpn-gateway1", "vpn-gateway2"]

# ​​ Deprecated: VPN provisioning in this module ⚠️
#
# Note: This functionality will be removed in the upcoming release.
# Please migrate to the standalone [terraform-ibm-site-to-site-vpn](https://github.com/terraform-ibm-modules/terraform-ibm-site-to-site-vpn/blob/main) module.
}
```

### 2. Add the New Site-to-Site VPN Module

Refer [usage](https://github.com/terraform-ibm-modules/terraform-ibm-site-to-site-vpn/blob/main/README.md#usage) section as mentioned in the [terraform-ibm-site-to-site-vpn](https://github.com/terraform-ibm-modules/terraform-ibm-site-to-site-vpn/blob/main) module.

Comment thread
imprateeksh marked this conversation as resolved.
Outdated
### Required IAM access policies

You need the following permissions to run this module.

- IAM services
Expand Down
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,8 @@ locals {
##############################################################################
# Create VPN Gateways
##############################################################################
# ⚠️ Provisioning of VPN Gateways will soon be deprecated.
Comment thread
imprateeksh marked this conversation as resolved.
Outdated
# Please refer [IBM Cloud site-to-site VPN](https://github.com/terraform-ibm-modules/terraform-ibm-site-to-site-vpn/blob/main/README.md#usage) module.

locals {
# Convert the vpn_gateway input from list to a map
Expand Down