Created
January 26, 2021 12:56
-
-
Save rfpedrosa/85f493644b53742153a5ac8b514d5cba to your computer and use it in GitHub Desktop.
compute-stack.ts (different platform or AMI)
This file contains hidden or 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
| // Running a different platform | |
| const env = new elasticbeanstalk.CfnEnvironment(this, `${appName}-eb-${props.envName}`, { | |
| environmentName: `${appName}-${props.envName}`, | |
| applicationName: appName, | |
| solutionStackName: '64bit Amazon Linux 2 v3.1.2 running Python 3.7', | |
| optionSettings: options | |
| }) | |
| // A specific AMI: | |
| { | |
| namespace: 'aws:autoscaling:launchconfiguration', | |
| optionName: 'ImageId', | |
| value: 'ami-0b578b996c2e7245a' | |
| }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment