Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 788 Bytes

how_to_use_aws.md

File metadata and controls

39 lines (32 loc) · 788 Bytes

How to use it within AWS

  1. Apply OpenTofu module into your infrastructure via the following commands
cd files/terraform/module
tofu init
tofu plan -out plan.out
tofu apply -auto-approve plan.out

How to trigger lambda manually via UI

  1. Go to Lambda function that has been created via OpenTofu -> Tests
  2. Fill "Test Event" and click "Test"
{
  "domainName": "<YOUR_VALID_DOMAIN>",
  "acmeUrl": "stage",
  "acmeEmail": "<ANY_VALID_EMAIL>",
  "reImportThreshold": 10,
  "issueType": "<default | force>",
  "storeCertInSM": <true | false>
}

Example #1:

{
   "domainName": "mypersonaldomain.com",
   "acmeUrl": "stage",
   "acmeEmail": "[email protected]",
   "reImportThreshold": 10,
   "issueType": "default",
   "storeCertInSM": true
}