mirror of
				https://github.com/yeslayla/aws-cluster-stack.git
				synced 2025-10-30 22:53:08 +01:00 
			
		
		
		
	Update InstanceType
This commit is contained in:
		
							
								
								
									
										5
									
								
								top.yaml
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								top.yaml
									
									
									
									
									
								
							| @ -17,6 +17,9 @@ Parameters: | |||||||
|   LatestAmiId : |   LatestAmiId : | ||||||
|     Type : 'AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>' |     Type : 'AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>' | ||||||
|     Default: '/aws/service/ecs/optimized-ami/amazon-linux-2/recommended/image_id' |     Default: '/aws/service/ecs/optimized-ami/amazon-linux-2/recommended/image_id' | ||||||
|  |   InstanceType: | ||||||
|  |     Type: String | ||||||
|  |     Default: "t3.micro" | ||||||
|  |  | ||||||
| Resources: | Resources: | ||||||
|   EcsCluster: |   EcsCluster: | ||||||
| @ -92,7 +95,7 @@ Resources: | |||||||
|     Type: AWS::AutoScaling::LaunchConfiguration |     Type: AWS::AutoScaling::LaunchConfiguration | ||||||
|     Properties: |     Properties: | ||||||
|       ImageId: !Ref LatestAmiId |       ImageId: !Ref LatestAmiId | ||||||
|       InstanceType: t2.micro |       InstanceType: !Ref InstanceType | ||||||
|       AssociatePublicIpAddress: true |       AssociatePublicIpAddress: true | ||||||
|       IamInstanceProfile: !Ref EcsRoleInstaceProfile |       IamInstanceProfile: !Ref EcsRoleInstaceProfile | ||||||
|       KeyName: !Ref AWS::NoValue |       KeyName: !Ref AWS::NoValue | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user