Skip to content

Commit

Permalink
fix(ec2-app): Use clientSecretValue prop over deprecated `clientSec…
Browse files Browse the repository at this point in the history
…ret`
  • Loading branch information
akash1810 committed Jul 11, 2024
1 parent 9cfabc6 commit 7051a7c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/lucky-news-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@guardian/cdk": patch
---

fix(ec2-app): Use `clientSecretValue` prop over deprecated `clientSecret`
2 changes: 1 addition & 1 deletion src/patterns/ec2-app/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ export class GuEc2App extends Construct {
const userPoolIdp = new UserPoolIdentityProviderGoogle(scope, "google-idp", {
userPool: userPool,
clientId: clientId.toString(),
clientSecret: clientSecret.toString(),
clientSecretValue: clientSecret,
attributeMapping: {
email: ProviderAttribute.GOOGLE_EMAIL,
givenName: ProviderAttribute.GOOGLE_GIVEN_NAME,
Expand Down

0 comments on commit 7051a7c

Please sign in to comment.