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
Somehow pulumi fails while attempting to move a project into a folder.
Versions:
pulumi CLI: v0.17.1
pulumi-gcp: 0.17.1
Runtime: nodejs
Error message:
* updating urn:pulumi:gcp-project-redacted::gcp-project-redacted::gcp:organizations/project:Project::redacted: 'org_id' and 'folder_id' cannot be both set.
Reproduction:
Step 1: Pulumi up the following program which creates a project directly underneath an org:
Step 2: Create a GCP Folder resource and attempt to move the project underneath that folder:
import*asgcpfrom'@pulumi/gcp';constGCP_ORG_ID='foo';constGCP_BILLING_ACCOUNT_ID='bar';// this new folder is supposed to contain all prod relevant subprojects underneath.exportconstprodFolder=newgcp.organizations.Folder('prod-folder',{displayName: 'prod',parent: `organizations/${GCP_ORG_ID}`});newgcp.organizations.Project('some-project-123',{name: 'some-project-123',projectId: 'some-project-123',billingAccount: GCP_BILLING_ACCOUNT_ID,folderId: prodFolder.id});
The error mentioned above will occur. I couldn't really find a good workaround. Even when I move the project underneath the folder manually via the UI pulumi continues to show that error.
The text was updated successfully, but these errors were encountered:
@swgillespie@jen20 This sounds like it could be a core engine issue around applying old inputs that are no longer part of the new inputs? pulumi/pulumi-terraform#305 was a recent fix somewhat related to this - though in that case it was related to there being a default.
Somehow pulumi fails while attempting to move a project into a folder.
Versions:
pulumi CLI: v0.17.1
pulumi-gcp: 0.17.1
Runtime: nodejs
Error message:
Reproduction:
The error mentioned above will occur. I couldn't really find a good workaround. Even when I move the project underneath the folder manually via the UI pulumi continues to show that error.
The text was updated successfully, but these errors were encountered: