https://github.com/flaconi/terraform-commercetools-custom-applications
Module to setup cloudfront, s3 and ssm for custom applications
https://github.com/flaconi/terraform-commercetools-custom-applications
aws commercetools flaconi-lite terraform terraform-module
Last synced: about 2 months ago
JSON representation
Module to setup cloudfront, s3 and ssm for custom applications
- Host: GitHub
- URL: https://github.com/flaconi/terraform-commercetools-custom-applications
- Owner: Flaconi
- License: mit
- Created: 2023-11-10T13:10:40.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-11-24T07:12:27.000Z (7 months ago)
- Last Synced: 2025-12-15T02:14:39.228Z (6 months ago)
- Topics: aws, commercetools, flaconi-lite, terraform, terraform-module
- Language: Makefile
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# terraform-commercetools-custom-applications
Module to setup cloudfront, s3 and ssm for custom applications
[](https://github.com/flaconi/terraform-commercetools-custom-applications/actions?query=workflow%3Alint)
[](https://github.com/flaconi/terraform-commercetools-custom-applications/actions?query=workflow%3Atest)
[](https://github.com/flaconi/terraform-commercetools-custom-applications/releases)
[](https://opensource.org/licenses/MIT)
## Providers
| Name | Version |
|------|---------|
| [aws](#provider\_aws) | ~> 6.0 |
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | ~> 1.5 |
| [aws](#requirement\_aws) | ~> 6.0 |
## Required Inputs
The following input variables are required:
### [app\_name](#input\_app\_name)
Description: application name
Type: `string`
### [bucket\_name](#input\_bucket\_name)
Description: name of the bucket to used to upload the custom application
Type: `string`
### [cdn\_logging\_bucket\_name](#input\_cdn\_logging\_bucket\_name)
Description: bucket where the cloudfront logs will be send to
Type: `string`
### [ssm\_name\_prefix](#input\_ssm\_name\_prefix)
Description: prefix for the ssm path for each custom application
Type: `string`
### [aws\_account\_id](#input\_aws\_account\_id)
Description: aws account id used to build access policy for the cdn to s3
Type: `string`
### [applications](#input\_applications)
Description: map of custom applications to be setup
Type:
```hcl
map(object({
tags = optional(map(string), {})
application_id = string
additional_ssm_parameters = optional(list(object({
name = string
type = optional(string, "SecureString") # String, StringList or SecureString
value = string
})), [])
}))
```
## Optional Inputs
The following input variables are optional (have default values):
### [attach\_deny\_insecure\_transport\_policy](#input\_attach\_deny\_insecure\_transport\_policy)
Description: Controls if S3 bucket should have deny non-SSL transport policy attached
Type: `bool`
Default: `true`
Description: Map of custom tags for the provisioned resources
Type: `map(string)`
Default: `{}`
## Outputs
| Name | Description |
|------|-------------|
| [s3\_bucket\_arn](#output\_s3\_bucket\_arn) | The ARN of the bucket. Will be of format arn:aws:s3:::bucketname. |
## License
**[MIT License](LICENSE)**
Copyright (c) 2023 **[Flaconi GmbH](https://github.com/flaconi)**