Skip to content

Instantly share code, notes, and snippets.

@amcginlay
Last active December 14, 2023 13:24
Show Gist options
  • Save amcginlay/7bcda49304c84a9f24331f5ab7820b95 to your computer and use it in GitHub Desktop.
Save amcginlay/7bcda49304c84a9f24331f5ab7820b95 to your computer and use it in GitHub Desktop.
TLSPK demo for SKO (container-gulch)
STACK_BASE_NAME=sko-demo
VCPRegion=US                 # EU does not fully support K8s cluster ... yet!
VCPAPIKey=???                # value from https://container-gulch.venafi.cloud/platform-settings/user-preferences?key=api-keys

export AWS_PROFILE=venafi-se # assuming aws credentials have been set up for this account

aws cloudformation create-stack \
  --stack-name ${STACK_BASE_NAME}-$(date +"%y%m%d%H%M%s") \
  --template-url https://venafi-ecosystem.s3.amazonaws.com/tlspk/v2/cfn-tlspk-cluster-bootstrapper.yaml \
  --disable-rollback \
  --parameters \
    ParameterKey=InstanceType,ParameterValue="t3.medium" \
    ParameterKey=VCPRegion,ParameterValue="${VCPRegion}" \
    ParameterKey=VCPAPIKey,ParameterValue="${VCPAPIKey}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment