-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b819bc8
commit 0f551dd
Showing
5 changed files
with
192 additions
and
42 deletions.
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
File renamed without changes.
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,88 @@ | ||
AWSTemplateFormatVersion: '2010-09-09' | ||
Transform: 'AWS::Serverless-2016-10-31' | ||
|
||
Description: | ||
This CloudFormation template will deploy an instance of the SSOSync-Staging | ||
candidate releases (via privately shared app in the AWS Serverless Application | ||
Repository (SAR) within the Staging Account. | ||
|
||
Parameters: | ||
AppArn: | ||
Description: The candidate release in the SAR | ||
Default: 'arn:aws:serverlessrepo:<AWS::Region>:<AccountId>:applications/<ApplicationName>' | ||
Type: String | ||
AppVersion: | ||
Description: The version of this build in SAR | ||
Default: 'v1.0.0-rc.10' | ||
Type: String | ||
GoogleAdminEmailArn: | ||
Type: String | ||
GoogleCredentialsArn: | ||
Type: String | ||
SCIMEndpointUrlArn: | ||
Type: String | ||
SCIMAccessTokenArn: | ||
Type: String | ||
RegionArn: | ||
Type: String | ||
IdentityStoreIdArn: | ||
Type: String | ||
GroupMatch: | ||
Description: The search string to match Groups in Google Workspace | ||
Default: 'name:AWS*' | ||
Type: String | ||
|
||
Resources: | ||
SARApp: | ||
Type: AWS::Serverless::Application | ||
Properties: | ||
Location: | ||
ApplicationId: !Ref AppArn | ||
SemanticVersion: !Ref AppVersion | ||
Parameters: | ||
GoogleAdminEmail: !Join | ||
- '' | ||
- - '{{resolve:secretsmanager:' | ||
- !Ref GoogleAdminEmailArn | ||
- '}}' | ||
GoogleCredentials: !Join | ||
- '' | ||
- - '{{resolve:secretsmanager:' | ||
- !Ref GoogleCredentialsArn | ||
- '}}' | ||
SCIMEndpointUrl: !Join | ||
- '' | ||
- - '{{resolve:secretsmanager:' | ||
- !Ref SCIMEndpointUrlArn | ||
- '}}' | ||
SCIMEndpointAccessToken: !Join | ||
- '' | ||
- - '{{resolve:secretsmanager:' | ||
- !Ref SCIMAccessTokenArn | ||
- '}}' | ||
Region: !Join | ||
- '' | ||
- - '{{resolve:secretsmanager:' | ||
- !Ref RegionArn | ||
- '}}' | ||
IdentityStoreID: !Join | ||
- '' | ||
- - '{{resolve:secretsmanager:' | ||
- !Ref IdentityStoreIdArn | ||
- '}}' | ||
SyncMethod: groups | ||
GoogleGroupMatch: !Ref GroupMatch | ||
LogLevel: warn | ||
LogFormat: json | ||
|
||
Outputs: | ||
FunctionArn: | ||
Condition: OutputFunction | ||
Description: "The Arn of the deployed lambda function" | ||
Value: | ||
Fn::GetAtt: | ||
- SARApp | ||
- Outputs.FunctionArn | ||
Export: | ||
Name: FunctionARN | ||
|