Configuration in this directory creates:
- AWS AppConfig application containing:
- (x2) AWS AppConfig environments (
nonprod
/prod
) - Configuration stored on S3
- Lambda validation function
- (x2) AWS AppConfig environments (
To run this example you need to execute:
$ terraform init
$ terraform plan
$ terraform apply
Note that this example may create resources which will incur monetary charges on your AWS bill. Run terraform destroy
when you no longer need these resources.
Name | Version |
---|---|
terraform | >= 0.13.1 |
archive | >= 2.0 |
aws | >= 3.55 |
Name | Version |
---|---|
archive | >= 2.0 |
aws | >= 3.55 |
Name | Source | Version |
---|---|---|
appconfig | ../../ | n/a |
s3_bucket | terraform-aws-modules/s3-bucket/aws | ~> 2.0 |
validate_lambda | terraform-aws-modules/lambda/aws | ~> 2.0 |
Name | Type |
---|---|
aws_s3_bucket_object.config | resource |
archive_file.lambda_handler | data source |
aws_caller_identity.current | data source |
aws_region.current | data source |
No inputs.
Name | Description |
---|---|
application_arn | The Amazon Resource Name (ARN) of the AppConfig Application |
application_id | The AppConfig application ID |
configuration_profile_arn | The Amazon Resource Name (ARN) of the AppConfig Configuration Profile |
configuration_profile_configuration_profile_id | The configuration profile ID |
configuration_profile_id | The AppConfig configuration profile ID and application ID separated by a colon (:) |
deployment_strategy_arn | The Amazon Resource Name (ARN) of the AppConfig Deployment Strategy |
deployment_strategy_id | The AppConfig deployment strategy ID |
deployments | The AppConfig deployments |
environments | The AppConfig environments |
hosted_configuration_version_arn | The Amazon Resource Name (ARN) of the AppConfig hosted configuration version |
hosted_configuration_version_id | The AppConfig application ID, configuration profile ID, and version number separated by a slash (/) |
hosted_configuration_version_version_number | The version number of the hosted configuration |
retrieval_role_arn | Amazon Resource Name (ARN) specifying the retrieval role |
retrieval_role_id | Name of the retrieval role |
retrieval_role_name | Name of the retrieval role |
retrieval_role_policy_arn | The ARN assigned by AWS to the retrieval role policy |
retrieval_role_policy_id | The ARN assigned by AWS to the retrieval role policy |
retrieval_role_policy_name | The name of the policy |
retrieval_role_policy_policy | The retrieval role policy document |
retrieval_role_policy_policy_id | The retrieval role policy ID |
retrieval_role_unique_id | Stable and unique string identifying the retrieval role |
Apache-2.0 Licensed. See LICENSE.