Skip to content
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

PLT-1391: use tenant scope for PCG IP pools #515

Merged
merged 6 commits into from
Sep 21, 2024
Merged

Conversation

TylerGillson
Copy link
Collaborator

@TylerGillson TylerGillson commented Sep 13, 2024

This PR fixes all TF operations on the PCG IP Pool resource.

Today, if a user attempts to create an IP pool, they get this error:

spectrocloud_privatecloudgateway_ippool.spectrocloud_privatecloudgateway_ippool: Creating...
╷
│ Error:  &{Code:ProjectUidIsNotEmpty Details:<nil> Message:Operation is not allowed in project scope and ProjectUid should be empty Ref:a1139d198c99064ca5844eddd78dcbb1e0f28403cbe4993665c688037b6da45f}
│ 
│   with spectrocloud_privatecloudgateway_ippool.spectrocloud_privatecloudgateway_ippool,
│   on main.tf line 1, in resource "spectrocloud_privatecloudgateway_ippool" "spectrocloud_privatecloudgateway_ippool":
│    1: resource "spectrocloud_privatecloudgateway_ippool" "spectrocloud_privatecloudgateway_ippool" 

Working example with changes

image (1)

image (2)

@TylerGillson TylerGillson changed the title fix: add context to PCG IP pool PLT-1391: use tenant scope for PCG IP pools Sep 13, 2024
@SivaanandM SivaanandM merged commit 63f5fdf into main Sep 21, 2024
2 checks passed
@SivaanandM SivaanandM deleted the fix/ippool-create branch September 21, 2024 04:43
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.

3 participants