# create the repo
mkdir aws-default-policy-demo
git init
# policy uses typescript so add ignore modules
echo "**node_modules" >> .gitignore
mkdir infra && cd infra
# use a template
pulumi new container-aws-go
# check I'm logged into Pulumi Cloud, else run pulumi login
pulumi whoami
# Update template packages, good practice.
go get -u
# checked I'm logged into AWS
aws sso login --profile work
# re-org repo to prefered way
mv app ../
vi main.go
#update the app source directory
# Add policy subdir
pulumi policy new aws-cis-compliance-policies-typescript --dir policypack
# Test everything
AWS_PROFILE=work pulumi up --policy-pack policypack
# TA-DA!
-
Notifications
You must be signed in to change notification settings - Fork 0
Add CIS Compliance to your AWS app in 30 seconds!
License
desteves/aws-default-policy-demo
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Add CIS Compliance to your AWS app in 30 seconds!