Skip to content

adding makefile for further automation#17

Open
taherbs wants to merge 2 commits intoaws-samples:masterfrom
taherbs:master
Open

adding makefile for further automation#17
taherbs wants to merge 2 commits intoaws-samples:masterfrom
taherbs:master

Conversation

@taherbs
Copy link

@taherbs taherbs commented Nov 15, 2018

Made couple of modifications to make the deployment process more convenient:
Change logs:

  • Update the .ebextensions/resources.config to accept GroupIds instead of group names (more handy for people not using the Default VPC)
  • Templating the IAM profile creation with cloudformation
  • Updated the locust package version
  • Added Makefile and .env file for automation the EB stack deployment/update
  • Updated the README to reflect the new available make commands

.env.sample Outdated
SERVICE_CNAME = "$(SERVICE_ENV)-taherbs-locust"
SERVICE_VPC = vpc-XXXXXX #Eb app VPC ID
SERVICE_EC2_SUBNETS = subnet-XXXXXX #Eb app EC2 subnets
SERVICE_ELB_SUBNESTS = subnet-XXXXXX #Eb app ALB subnets

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo? SERVICE_ELB_SUBNESTS should be SERVICE_ELB_SUBNETS

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep thanks for catching that

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Makefile Outdated
--branch_default $(SERVICE_ENV) \
--vpc.id $(SERVICE_VPC) \
--vpc.ec2subnets $(SERVICE_EC2_SUBNETS) \
--vpc.elbsubnets $(SERVICE_ELB_SUBNESTS) \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"NESTS" here too :) so at least it'd work, but should probably be corrected.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants