This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/bash | |
export DOMAIN_NAME=$1 | |
export PROFILE_NAME=$2 | |
if [ -z "$3" ]; then | |
export CERTIFICATE_NAME=$(echo $DOMAIN_NAME | sed -e 's/\*/wildcard/g') | |
else | |
export CERTIFICATE_NAME=$3 | |
fi | |
echo $CERTIFICATE_NAME | |
aws iam upload-server-certificate --server-certificate-name $CERTIFICATE_NAME$(date +"-%Y-%m-%d") --certificate-body file://$DOMAIN_NAME.crt --private-key file://$DOMAIN_NAME.key --certificate-chain file://$DOMAIN_NAME.chain.crt --profile $PROFILE_NAME # --path /cloudfront/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016/08/05 17:25:50 [INFO] Terraform version: 0.7.0 e822a79165dbc06bbf8271ee349fe256867d53dc | |
2016/08/05 17:25:50 [DEBUG] Detected home directory from env var: /Users/andrew | |
2016/08/05 17:25:50 [DEBUG] Detected home directory from env var: /Users/andrew | |
2016/08/05 17:25:50 [DEBUG] Attempting to open CLI config file: /Users/andrew/.terraformrc | |
2016/08/05 17:25:50 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2016/08/05 17:25:50 [DEBUG] Detected home directory from env var: /Users/andrew | |
2016/08/05 17:25:50 [TRACE] Graph after step *terraform.ConfigTransformer: | |
module.howard_production_elb2elk - *terraform.GraphNodeConfigModule | |
var.region - *terraform.GraphNodeConfigVariable |
OlderNewer