Skip to content

Instantly share code, notes, and snippets.

@dgtm
Created May 17, 2021 21:35
Show Gist options
  • Save dgtm/5def4afd12a4d15a3314053a37619af7 to your computer and use it in GitHub Desktop.
Save dgtm/5def4afd12a4d15a3314053a37619af7 to your computer and use it in GitHub Desktop.
error
cfn-init --stack asds --resource bbbInstance --configsets full_install --region us-east-1
+ cfn-init --stack asds --resource bbbInstance --configsets full_install --region us-east-1
Cloud-init v. 20.2-45-g5f7825e2-0ubuntu1~16.04.1 running 'modules:final' at Mon, 17 May 2021 21:16:42 +0000. Up 30.32 seconds.
2021-05-17 21:17:19,013 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [1]
2021-05-17 21:17:19,015 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
2021-05-17 21:17:19,016 - util.py[WARNING]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_user.py'>) failed
Cloud-init v. 20.2-45-g5f7825e2-0ubuntu1~16.04.1 finished at Mon, 17 May 2021 21:17:19 +0000. Datasource DataSourceEc2Local. Up 66.92 seconds
@dgtm
Copy link
Author

dgtm commented May 17, 2021

@RohitRox
Copy link

RohitRox commented May 18, 2021

Makefile

MAKE_ARGS=--profile $(AWS_PROFILE) --region $(AWS_REGION)

VPC_ID=	
PUBLIC_SUBNET=

create-vpc:
	aws cloudformation create-stack --stack-name bbb-vpc --template-body file://vpc.yaml $(MAKE_ARGS)
create-bbb:
	aws cloudformation create-stack --stack-name bbb-stack --template-body file://bigbluebutton.yaml $(MAKE_ARGS) --parameters \
	ParameterKey=AssociatedVPC,ParameterValue=$(VPC_ID) \
	ParameterKey=PublicSubnet,ParameterValue=$(PUBLIC_SUBNET) \
	ParameterKey=PublicSubnet,ParameterValue=$(PUBLIC_SUBNET) \
	ParameterKey=Email,ParameterValue=hello@gmail.com \
	ParameterKey=Username,ParameterValue=hello123 \
	ParameterKey=Password,ParameterValue=Password@1 \
	ParameterKey=KeyPair,ParameterValue=key-bbb

update-stack:
	aws cloudformation update-stack --stack-name bbb-stack --template-body file://bigbluebutton.yaml $(MAKE_ARGS) --parameters \
	ParameterKey=AssociatedVPC,ParameterValue=$(VPC_ID) \
	ParameterKey=PublicSubnet,ParameterValue=$(PUBLIC_SUBNET) \
	ParameterKey=PublicSubnet,ParameterValue=$(PUBLIC_SUBNET) \
	ParameterKey=Email,ParameterValue=hello@gmail.com \
	ParameterKey=Username,ParameterValue=hello123 \
	ParameterKey=Password,ParameterValue=Password@1 \
	ParameterKey=KeyPair,ParameterValue=key-bbb 

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