Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cft-templates/Rstudio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ Resources:
Properties:
ImageId : '{{resolve:ssm:/RL/RG/StandardCatalog/RStudio}}'
InstanceType: !Ref 'InstanceType'
AvailabilityZone: !Ref AvailabilityZone
SecurityGroups: [!Ref 'RstudioEC2SecurityGroup']
KeyName: !Ref 'KeyPair'
IamInstanceProfile: !Ref InstanceProfile
Expand Down Expand Up @@ -209,4 +210,4 @@ Outputs:
Value: '443'
AvailabilityZone:
Description: AvailabilityZone of newly created Rstudio EC2Instance
Value: !GetAtt [RstudioEC2Instance, AvailabilityZone]
Value: !Ref AvailabilityZone
3 changes: 2 additions & 1 deletion cft-templates/ec2-EIP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ Resources:
# Signal result to CloudFormation
/opt/aws/bin/cfn-signal -e $? --stack "${AWS::StackName}" --resource "EC2Instance" --region "${AWS::Region}"
InstanceType: !Ref 'InstanceType'
AvailabilityZone: !Ref AvailabilityZone
SecurityGroups: [!Ref 'InstanceSecurityGroup']
KeyName: !Ref 'KeyPair'
ImageId: !Ref 'LatestAmiId'
Expand Down Expand Up @@ -137,4 +138,4 @@ Outputs:
Value: !GetAtt [EC2Instance, PublicDnsName]
AvailabilityZone:
Description: AvailabilityZone of newly created EC2 instance
Value: !GetAtt [EC2Instance, AvailabilityZone]
Value: !Ref AvailabilityZone
3 changes: 2 additions & 1 deletion cft-templates/ec2-dcv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ Resources:
InstanceType: !Ref 'InstanceType'
SecurityGroups: [!Ref 'InstanceSecurityGroup']
KeyName: !Ref 'KeyPair'
AvailabilityZone: !Ref AvailabilityZone
ImageId: "{{resolve:ssm:/RL/RG/StandardCatalog/linux-nice-dcv-ami}}"
IamInstanceProfile: !Ref InstanceProfile
BlockDeviceMappings:
Expand Down Expand Up @@ -436,4 +437,4 @@ Outputs:
Value: '8443'
AvailabilityZone:
Description: AvailabilityZone of newly created EC2 instance
Value: !GetAtt [EC2Instance, AvailabilityZone]
Value: !Ref AvailabilityZone
3 changes: 2 additions & 1 deletion cft-templates/ec2-jupyterLab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ Resources:
KeyName: !Ref 'KeyPair'
IamInstanceProfile: !Ref InstanceProfile
PropagateTagsToVolumeOnCreation: true
AvailabilityZone: !Ref AvailabilityZone
BlockDeviceMappings:
- DeviceName: /dev/xvda
Ebs:
Expand Down Expand Up @@ -272,4 +273,4 @@ Outputs:
Value: '443'
AvailabilityZone:
Description: AvailabilityZone of newly created JupyterLab EC2Instance
Value: !GetAtt [EC2Instance, AvailabilityZone]
Value: !Ref AvailabilityZone
3 changes: 2 additions & 1 deletion cft-templates/ec2-vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ Resources:
Properties:
ImageId : '{{resolve:ssm:/RL/RG/StandardCatalog/VS-Code}}'
InstanceType: !Ref 'InstanceType'
AvailabilityZone: !Ref AvailabilityZone
BlockDeviceMappings:
- DeviceName: /dev/xvda
Ebs:
Expand Down Expand Up @@ -270,4 +271,4 @@ Outputs:
Value: '443'
AvailabilityZone:
Description: AvailabilityZone of newly created VS-Code EC2Instance
Value: !GetAtt [EC2Instance, AvailabilityZone]
Value: !Ref AvailabilityZone