-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Make instanceType a mandatory prop for EC2-based infrastructure (
#790) * feat!: Make instanceType a mandatory prop BREAKING CHANGE: The following constructs and patterns now require an instanceType prop: * GuAutoScalingGroup * GuEc2App * GuPlayApp * GuNodeApp Previously these constructs and patterns would automatically create a CloudFormation parameter for the instance type. This parameter has now been removed and instance type must be provided via the constructor's props. For example: ```typescript new GuEc2App(stack, { applicationPort: GuApplicationPorts.Node, app: "test-gu-ec2-app", access: { scope: AccessScope.PUBLIC }, instanceType: InstanceType.of(InstanceClass.T4G, InstanceSize.MEDIUM), //This is now required monitoringConfiguration: { noMonitoring: true }, userData: "#!/bin/dev foobarbaz", certificateProps: getCertificateProps(), }); ```
- Loading branch information
1 parent
7673a4a
commit a01cd04
Showing
8 changed files
with
45 additions
and
103 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
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.