-
Notifications
You must be signed in to change notification settings - Fork 4.3k
feat(amplify): support build compute type #34796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
83197f8
780618e
13a6ac6
1bfadd1
66174eb
8debda2
3ae8eaa
6bcc549
bd19861
443553a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,146 @@ | ||
| { | ||
| "Resources": { | ||
| "AppStandardRoleE2FE6E28": { | ||
| "Type": "AWS::IAM::Role", | ||
| "Properties": { | ||
| "AssumeRolePolicyDocument": { | ||
| "Statement": [ | ||
| { | ||
| "Action": "sts:AssumeRole", | ||
| "Effect": "Allow", | ||
| "Principal": { | ||
| "Service": "amplify.amazonaws.com" | ||
| } | ||
| } | ||
| ], | ||
| "Version": "2012-10-17" | ||
| } | ||
| } | ||
| }, | ||
| "AppStandard64C25109": { | ||
| "Type": "AWS::Amplify::App", | ||
| "Properties": { | ||
| "BasicAuthConfig": { | ||
| "EnableBasicAuth": false | ||
| }, | ||
| "IAMServiceRole": { | ||
| "Fn::GetAtt": [ | ||
| "AppStandardRoleE2FE6E28", | ||
| "Arn" | ||
| ] | ||
| }, | ||
| "JobConfig": { | ||
| "BuildComputeType": "STANDARD_8GB" | ||
| }, | ||
| "Name": "AppStandard", | ||
| "Platform": "WEB" | ||
| } | ||
| }, | ||
| "AppLargeRoleF69E1D27": { | ||
| "Type": "AWS::IAM::Role", | ||
| "Properties": { | ||
| "AssumeRolePolicyDocument": { | ||
| "Statement": [ | ||
| { | ||
| "Action": "sts:AssumeRole", | ||
| "Effect": "Allow", | ||
| "Principal": { | ||
| "Service": "amplify.amazonaws.com" | ||
| } | ||
| } | ||
| ], | ||
| "Version": "2012-10-17" | ||
| } | ||
| } | ||
| }, | ||
| "AppLarge1965F25E": { | ||
| "Type": "AWS::Amplify::App", | ||
| "Properties": { | ||
| "BasicAuthConfig": { | ||
| "EnableBasicAuth": false | ||
| }, | ||
| "IAMServiceRole": { | ||
| "Fn::GetAtt": [ | ||
| "AppLargeRoleF69E1D27", | ||
| "Arn" | ||
| ] | ||
| }, | ||
| "JobConfig": { | ||
| "BuildComputeType": "LARGE_16GB" | ||
| }, | ||
| "Name": "AppLarge", | ||
| "Platform": "WEB" | ||
| } | ||
| }, | ||
| "AppXLargeRoleF3215EF5": { | ||
| "Type": "AWS::IAM::Role", | ||
| "Properties": { | ||
| "AssumeRolePolicyDocument": { | ||
| "Statement": [ | ||
| { | ||
| "Action": "sts:AssumeRole", | ||
| "Effect": "Allow", | ||
| "Principal": { | ||
| "Service": "amplify.amazonaws.com" | ||
| } | ||
| } | ||
| ], | ||
| "Version": "2012-10-17" | ||
| } | ||
| } | ||
| }, | ||
| "AppXLarge0552F577": { | ||
| "Type": "AWS::Amplify::App", | ||
| "Properties": { | ||
| "BasicAuthConfig": { | ||
| "EnableBasicAuth": false | ||
| }, | ||
| "IAMServiceRole": { | ||
| "Fn::GetAtt": [ | ||
| "AppXLargeRoleF3215EF5", | ||
| "Arn" | ||
| ] | ||
| }, | ||
| "JobConfig": { | ||
| "BuildComputeType": "XLARGE_72GB" | ||
| }, | ||
| "Name": "AppXLarge", | ||
| "Platform": "WEB" | ||
| } | ||
| } | ||
| }, | ||
| "Parameters": { | ||
| "BootstrapVersion": { | ||
| "Type": "AWS::SSM::Parameter::Value<String>", | ||
| "Default": "/cdk-bootstrap/hnb659fds/version", | ||
| "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]" | ||
| } | ||
| }, | ||
| "Rules": { | ||
| "CheckBootstrapVersion": { | ||
| "Assertions": [ | ||
| { | ||
| "Assert": { | ||
| "Fn::Not": [ | ||
| { | ||
| "Fn::Contains": [ | ||
| [ | ||
| "1", | ||
| "2", | ||
| "3", | ||
| "4", | ||
| "5" | ||
| ], | ||
| { | ||
| "Ref": "BootstrapVersion" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI." | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.