Skip to content

Commit

Permalink
chore: revert "chore: pr feedback"
Browse files Browse the repository at this point in the history
This reverts commit 74cf0dc.
  • Loading branch information
sobolk committed Jul 13, 2023
1 parent 4d791a6 commit 95f0f8b
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1614,6 +1614,7 @@ exports.handler = (event, context, callback) => {
},
"UserPoolClient": {
"DependsOn": [
"HostedUIProvidersCustomResourceInputs",
"UserPool",
],
"Properties": {
Expand Down Expand Up @@ -1715,6 +1716,7 @@ exports.handler = (event, context, callback) => {
},
"UserPoolClientWeb": {
"DependsOn": [
"HostedUIProvidersCustomResourceInputs",
"UserPool",
],
"Properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,9 @@ export class AmplifyAuthCognitoStack extends cdk.Stack implements AmplifyAuthCog
},
});
this.hostedUIProvidersCustomResourceInputs.node.addDependency(this.hostedUIProvidersCustomResourceLogPolicy);
// this can be removed when hostedUI Custom resource is removed
this.userPoolClient?.node.addDependency(this.hostedUIProvidersCustomResourceInputs);
this.userPoolClientWeb?.node.addDependency(this.hostedUIProvidersCustomResourceInputs);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,14 @@ Resources
│ └─ ["https://signin1/"]
├─ [+] LogoutURLs
│ └─ ["https://signout1/"]
└─ [+] SupportedIdentityProviders
└─ ["Facebook","Google","LoginWithAmazon","SignInWithApple","COGNITO"]
├─ [+] SupportedIdentityProviders
│ └─ ["Facebook","Google","LoginWithAmazon","SignInWithApple","COGNITO"]
└─ [~] DependsOn
└─ @@ -1,3 +1,4 @@
[ ] [
[+] "HostedUIProvidersCustomResourceInputs",
[ ] "UserPool"
[ ] ]
[~] AWS::Cognito::UserPoolClient UserPoolClient
├─ [+] AllowedOAuthFlows
│ └─ ["code"]
Expand All @@ -67,8 +73,14 @@ Resources
│ └─ ["https://signin1/"]
├─ [+] LogoutURLs
│ └─ ["https://signout1/"]
└─ [+] SupportedIdentityProviders
└─ ["Facebook","Google","LoginWithAmazon","SignInWithApple","COGNITO"]
├─ [+] SupportedIdentityProviders
│ └─ ["Facebook","Google","LoginWithAmazon","SignInWithApple","COGNITO"]
└─ [~] DependsOn
└─ @@ -1,3 +1,4 @@
[ ] [
[+] "HostedUIProvidersCustomResourceInputs",
[ ] "UserPool"
[ ] ]
[~] AWS::IAM::Role UserPoolClientRole
└─ [-] DependsOn
└─ ["UserPoolClient"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,14 @@ Resources
│ └─ ["https://sin1/","https://sin2/"]
├─ [+] LogoutURLs
│ └─ ["https://sout1/","https://sout2/"]
└─ [+] SupportedIdentityProviders
└─ ["Facebook","Google","LoginWithAmazon","SignInWithApple","COGNITO"]
├─ [+] SupportedIdentityProviders
│ └─ ["Facebook","Google","LoginWithAmazon","SignInWithApple","COGNITO"]
└─ [~] DependsOn
└─ @@ -1,3 +1,4 @@
[ ] [
[+] "HostedUIProvidersCustomResourceInputs",
[ ] "UserPool"
[ ] ]
[~] AWS::Cognito::UserPoolClient UserPoolClient
├─ [+] AllowedOAuthFlows
│ └─ ["code"]
Expand All @@ -54,8 +60,14 @@ Resources
│ └─ ["https://sin1/","https://sin2/"]
├─ [+] LogoutURLs
│ └─ ["https://sout1/","https://sout2/"]
└─ [+] SupportedIdentityProviders
└─ ["Facebook","Google","LoginWithAmazon","SignInWithApple","COGNITO"]
├─ [+] SupportedIdentityProviders
│ └─ ["Facebook","Google","LoginWithAmazon","SignInWithApple","COGNITO"]
└─ [~] DependsOn
└─ @@ -1,3 +1,4 @@
[ ] [
[+] "HostedUIProvidersCustomResourceInputs",
[ ] "UserPool"
[ ] ]
[~] AWS::IAM::Role UserPoolClientRole
└─ [-] DependsOn
└─ ["UserPoolClient"]
Expand Down Expand Up @@ -107,8 +119,14 @@ Resources
│ └─ ["https://sin1/","https://sin2/"]
├─ [+] LogoutURLs
│ └─ ["https://sout1/","https://sout2/"]
└─ [+] SupportedIdentityProviders
└─ ["Facebook","Google","LoginWithAmazon","SignInWithApple","COGNITO"]
├─ [+] SupportedIdentityProviders
│ └─ ["Facebook","Google","LoginWithAmazon","SignInWithApple","COGNITO"]
└─ [~] DependsOn
└─ @@ -1,3 +1,4 @@
[ ] [
[+] "HostedUIProvidersCustomResourceInputs",
[ ] "UserPool"
[ ] ]
[~] AWS::Cognito::UserPoolClient UserPoolClient
├─ [+] AllowedOAuthFlows
│ └─ ["code"]
Expand All @@ -120,8 +138,14 @@ Resources
│ └─ ["https://sin1/","https://sin2/"]
├─ [+] LogoutURLs
│ └─ ["https://sout1/","https://sout2/"]
└─ [+] SupportedIdentityProviders
└─ ["Facebook","Google","LoginWithAmazon","SignInWithApple","COGNITO"]
├─ [+] SupportedIdentityProviders
│ └─ ["Facebook","Google","LoginWithAmazon","SignInWithApple","COGNITO"]
└─ [~] DependsOn
└─ @@ -1,3 +1,4 @@
[ ] [
[+] "HostedUIProvidersCustomResourceInputs",
[ ] "UserPool"
[ ] ]
[~] AWS::IAM::Role UserPoolClientRole
└─ [-] DependsOn
└─ ["UserPoolClient"]
Expand Down

0 comments on commit 95f0f8b

Please sign in to comment.