Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Generating an ACM certificate via Terraform

This example shows how to generate an ACM certificate for a domain via Terraform.

Prerequisites

Start LocalStack

export LOCALSTACK_AUTH_TOKEN=<your-auth-token>
make start
make ready

Run

To run this example you need to execute:

tflocal init
tflocal plan
tflocal apply --auto-approve

Testing

Run the following command to test the example:

awslocal acm list-certificates

You will see the following output:

{
    "CertificateSummaryList": [
        {
            "CertificateArn": "arn:aws:acm:<REGION>:000000000000:certificate/<CERTIFICATE-ID>",
            "DomainName": "helloworld.info"
        }
    ]
}