Module library

AppConfig

Terraform module to create AWS AppConfig resources

Inputs

40 / 43
config_profile_descriptionoptionalstring

The description of the configuration profile. Can be at most 1024 characters

Defaultnull
config_profile_location_urioptionalstring

A URI to locate the configuration. You can specify the AWS AppConfig hosted configuration store, Systems Manager (SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object

Defaulthosted
config_profile_nameoptionalstring

The name for the configuration profile. Must be between 1 and 64 characters in length

Defaultnull
config_profile_retrieval_role_arnoptionalstring

The ARN of an IAM role with permission to access the configuration at the specified `location_uri`. A retrieval role ARN is not required for configurations stored in the AWS AppConfig `hosted` configuration store. It is required for all other sources that store your configuration

Defaultnull
config_profile_tagsoptionalmap(string)

A map of additional tags to apply to the configuration profile

Default{}
config_profile_typeoptionalstring

Type of configurations contained in the profile. Valid values: `AWS.AppConfig.FeatureFlags` and `AWS.Freeform`

Defaultnull
config_profile_validatoroptionallist(map(any))

A set of methods for validating the configuration. Maximum of 2

Default[]
createoptionalbool

Determines whether resources are created

Defaulttrue
create_deployment_strategyoptionalbool

Determines whether a deployment strategy is created

Defaulttrue
create_retrieval_roleoptionalbool

Determines whether configuration retrieval IAM role is created

Defaulttrue
deployment_configuration_versionoptionalstring

The configuration version to deploy. Can be at most 1024 characters

Defaultnull
deployment_descriptionoptionalstring

A description of the deployment. Can be at most 1024 characters

Defaultnull
deployment_strategy_deployment_duration_in_minutesoptionalnumber

Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440

Default0
deployment_strategy_descriptionoptionalstring

A description of the deployment strategy. Can be at most 1024 characters

Defaultnull
deployment_strategy_final_bake_time_in_minutesoptionalnumber

Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440

Default0
deployment_strategy_growth_factoroptionalnumber

The percentage of targets to receive a deployed configuration during each interval. Minimum value of 1, maximum value of 100

Default100
deployment_strategy_growth_typeoptionalstring

The algorithm used to define how percentage grows over time. Valid value: `LINEAR` and `EXPONENTIAL`. Defaults to `LINEAR`

Defaultnull
deployment_strategy_idoptionalstring

An existing AppConfig deployment strategy ID

Defaultnull
deployment_strategy_nameoptionalstring

A name for the deployment strategy. Must be between 1 and 64 characters in length

Defaultnull
deployment_strategy_replicate_tooptionalstring

Where to save the deployment strategy. Valid values: `NONE` and `SSM_DOCUMENT`

DefaultNONE
deployment_strategy_tagsoptionalmap(string)

A map of additional tags to apply to the deployment strategy

Default{}
deployment_tagsoptionalmap(string)

A map of additional tags to apply to the deployment

Default{}
descriptionoptionalstring

The description of the application. Can be at most 1024 characters

Defaultnull
environmentsoptionalmap(any)

Map of attributes for AppConfig environment resource(s)

Default{}
hosted_config_version_contentoptionalstring

The content of the configuration or the configuration data

Defaultnull
hosted_config_version_content_typeoptionalstring

A standard MIME type describing the format of the configuration content. For more information, see [Content-Type](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17)

Defaultnull
hosted_config_version_descriptionoptionalstring

A description of the configuration

Defaultnull
nameoptionalstring

The name for the application. Must be between 1 and 64 characters in length

Default""
retrieval_role_descriptionoptionalstring

Description of the configuration retrieval role

Defaultnull
retrieval_role_nameoptionalstring

The name for the configuration retrieval role

Default""
retrieval_role_pathoptionalstring

Path to the configuration retrieval role

Defaultnull
retrieval_role_permissions_boundaryoptionalstring

ARN of the policy that is used to set the permissions boundary for the configuration retrieval role

Defaultnull
retrieval_role_tagsoptionalmap(string)

A map of additional tags to apply to the configuration retrieval role

Default{}
retrieval_role_use_name_prefixoptionalbool

Determines whether to a name or name-prefix strategy is used on the role

Defaulttrue
s3_configuration_bucket_arnoptionalstring

The ARN of the configuration S3 bucket

Defaultnull
s3_configuration_object_keyoptionalstring

Name of the configuration object/file stored in the S3 bucket

Default*
ssm_document_configuration_arnoptionalstring

ARN of the configuration SSM document

Defaultnull
ssm_parameter_configuration_arnoptionalstring

ARN of the configuration SSM parameter

Defaultnull
tagsoptionalmap(string)

A list of tag blocks. Each element should have keys named key, value, and propagate_at_launch

Default{}
use_hosted_configurationoptionalbool

Determines whether a hosted configuration is used

Defaultfalse

All 43 are optional — the module deploys with none of them set. Showing 40, so the site stays a static download — the remaining 3 are in the source.

Outputs

21
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

What the agent wires into the next module. An edge on the architecture diagram is one of these consumed by something else.