This example shows how to generate an ACM certificate for a domain via Terraform.
- A valid LocalStack for AWS license. Your license provides a
LOCALSTACK_AUTH_TOKEN. - Docker
localstackCLIawslocalCLI- Terraform
makeandjq
export LOCALSTACK_AUTH_TOKEN=<your-auth-token>
make start
make readyTo run this example you need to execute:
tflocal init
tflocal plan
tflocal apply --auto-approveRun the following command to test the example:
awslocal acm list-certificatesYou will see the following output:
{
"CertificateSummaryList": [
{
"CertificateArn": "arn:aws:acm:<REGION>:000000000000:certificate/<CERTIFICATE-ID>",
"DomainName": "helloworld.info"
}
]
}