Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding makefile for further automation #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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