-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cloudrun panic by enabling PRC (#2165)
This fixes #2155 by enabling the bridge PlanResourceChange for the resource. Looks like the problem has something to do with nested labels properties being accessed: hashicorp/terraform-provider-google#17756 I believe the domain mapping resource is also affected, so I've enabled PRC for that too. It is non-trivial to test as it requires a verified domain in GCP, so I've skipped that. stacked on #2163
- Loading branch information
1 parent
50657a0
commit e430db0
Showing
8 changed files
with
3,385 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/bin/ | ||
/node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: cloudrun-service | ||
runtime: nodejs | ||
description: A minimal Google Cloud TypeScript Pulumi program | ||
config: | ||
pulumi:tags: | ||
value: | ||
pulumi:template: gcp-typescript |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import * as gcp from "@pulumi/gcp"; | ||
|
||
new gcp.cloudrun.Service("my-service", { | ||
location: "us-central1", | ||
template: { | ||
spec: { | ||
containers: [{ | ||
image: "us-docker.pkg.dev/cloudrun/container/hello", | ||
}], | ||
}, | ||
}, | ||
}); |
Oops, something went wrong.