Created
May 18, 2020 00:23
-
-
Save ahmad2x4/6717601c44fcadb524224e80628ce7df to your computer and use it in GitHub Desktop.
Pulumi sample infra source code part 10
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
const tfenvtest = new aws.elasticbeanstalk.Environment("webapp-env", { | |
application: app, | |
version: defaultApplicationVersion, | |
solutionStackName: "64bit Amazon Linux 2018.03 v4.13.1 running Node.js", | |
settings: [ | |
{ | |
name: "VPCId", | |
namespace: "aws:ec2:vpc", | |
value: vpc.id, | |
}, | |
{ | |
name: "Subnets", | |
namespace: "aws:ec2:vpc", | |
value: vpc.publicSubnetIds[0], | |
}, | |
{ | |
name: "IamInstanceProfile", | |
namespace: "aws:autoscaling:launchconfiguration", | |
value: instanceProfile.name, | |
}, | |
{ | |
name: `CONNECTION_STRING`, | |
namespace: "aws:elasticbeanstalk:application:environment", | |
value: connectionString, | |
}, | |
{ | |
name: "SecurityGroups", | |
namespace: "aws:autoscaling:launchconfiguration", | |
value: rdsSecurityGroup.id, | |
}, | |
], | |
}); | |
export const endpointUrl = tfenvtest.endpointUrl; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment