Skip to content

feat(vpn): Onboarding VPN gateway#1453

Draft
s-inter wants to merge 11 commits into
mainfrom
si/onboard-VPN-gateway
Draft

feat(vpn): Onboarding VPN gateway#1453
s-inter wants to merge 11 commits into
mainfrom
si/onboard-VPN-gateway

Conversation

@s-inter
Copy link
Copy Markdown
Contributor

@s-inter s-inter commented May 11, 2026

Description

Draft only:
The VPN Waiter PR is currently blocked on the VPN API V1 integration into the SDK. But this PR requires the Waiter to be present.

To test this PR locally, check out the si-vpn-waiter branch in the SDK and add a replace directive for github.com/stackitcloud/stackit-sdk-go/services/vpn pointing to your local version in go.mod.

relates to STACKITTPR-633)

Checklist

  • Issue was linked above
  • Code format was applied: make fmt
  • Examples were added / adjusted (see examples/ directory)
  • Docs are up-to-date: make generate-docs (will be checked by CI)
  • Unit tests got implemented or updated
  • Acceptance tests got implemented or updated (see e.g. here)
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

@s-inter s-inter changed the title Si/onboard vpn gateway feat(vpn): Onboarding VPN gateway May 11, 2026
resource.TestCheckResourceAttrSet("stackit_vpn_gateway.gateway", "gateway_id"),
resource.TestCheckResourceAttrSet("stackit_vpn_gateway.gateway", "state"),
),
},
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

datasource test missing

resource.TestCheckResourceAttr("stackit_vpn_gateway.gateway", "bgp.local_asn", testutil.ConvertConfigVariable(gatewayMaxVars["local_asn"])),
resource.TestCheckResourceAttrSet("stackit_vpn_gateway.gateway", "gateway_id"),
),
},
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

datasource test missing

},
"region": schema.StringAttribute{
Description: schemaDescriptions["region"],
Required: true,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

region is never required, see other resource and datasource implementations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants