Skip to content

Commit

Permalink
allow t3.micro instance type (#1)
Browse files Browse the repository at this point in the history
* allow t3.micro instance type

* remove unused parameter

* update instance type
  • Loading branch information
Pierozi authored Feb 24, 2020
1 parent 7ac5848 commit dee0b23
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ BastionAmiId?=$(shell ./bin/bastion-ami.sh $(BastionAmiVersion) $(region) $(AWS
CodaAmiId?=$(shell ./bin/coda-ami.sh $(AWS_PROFILE) $(env))
BUCKET?=init-stack-templatebucket-h0zgfseupync
CodaInstanceType?=c5.2xlarge
CodaWorkerInstanceType?=c5.2xlarge
## Condtionnal start of the stacks
RunVpcStack?=true
RunBastionStack?=true
Expand Down Expand Up @@ -98,7 +97,6 @@ deploy: package
BastionAmiId=$(BastionAmiId) CodaAmiId=$(CodaAmiId) CodaWorkerAmiId=$(CodaAmiId)\
KeyName=$(KeyName) \
CodaInstanceType=$(CodaInstanceType) \
CodaWorkerInstanceType=$(CodaWorkerInstanceType) \
RunVpcStack=$(RunVpcStack) \
RunBastionStack=$(RunBastionStack) \
CodaBucketInfra=$(CODA_BUCKET_SECRETS) \
Expand Down
1 change: 1 addition & 0 deletions cloudformation/stacks/auto-scalling-group.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Parameters:
ConstraintDescription: 'must be a valid EC2 instance type.'
Type: String
AllowedValues:
- t3.micro
- c5.2xlarge

SecurityGroups:
Expand Down
1 change: 1 addition & 0 deletions cloudformation/stacks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Parameters:
ConstraintDescription: 'must be a valid EC2 instance type.'
Type: String
AllowedValues:
- t3.micro
- c5.2xlarge
Default: "c5.2xlarge"
# Coda Parameters
Expand Down

0 comments on commit dee0b23

Please sign in to comment.