Skip to content

Latest commit

 

History

History
75 lines (57 loc) · 3.87 KB

File metadata and controls

75 lines (57 loc) · 3.87 KB

AWS AppConfig Module

Features

  • AppConfig Application and Environment resources
  • Configuration Profile with Hosted Configuration Version
  • Deployment Strategy for controlled rollouts
  • Triggered Deployment resource to apply configuration
  • IAM policy granting read-only access to AppConfig
  • Tagging via environment and owner

Usage

module "app_config" {
  source = "./modules/app-config"

  # Required
  config_environment_name = "prod"

  # Required
  config_profile_name = "app-profile"

  # Required
  environment = "prod"

  # Required
  owner = "platform"
}

Requirements

Name Version
aws ~> 6.0

Resources

Name Type
aws_appconfig_application.ndr-app-config-application resource
aws_appconfig_configuration_profile.ndr-app-config-profile resource
aws_appconfig_deployment.ndr-app-config-deployment resource
aws_appconfig_deployment_strategy.ndr-app-config-deployment-strategy resource
aws_appconfig_environment.ndr-app-config-environment resource
aws_appconfig_hosted_configuration_version.ndr-app-config-profile-version resource
aws_iam_policy.app_config_policy resource
terraform_data.current_config_file_content resource
aws_iam_policy_document.app_config_policy data source

Inputs

Name Description Type Default Required
config_environment_name Name of the AppConfig environment (e.g., dev, prod). string n/a yes
config_profile_name Name of the AppConfig configuration profile. string n/a yes
dev_config_enabled n/a bool n/a yes
environment Deployment environment tag used for naming and labeling (e.g., dev, prod) string n/a yes
owner Identifies the team or person responsible for the resource (used for tagging). string n/a yes

Outputs

Name Description
app_config_application_id n/a
app_config_configuration_profile_id n/a
app_config_environment_id n/a
app_config_policy n/a
app_config_policy_arn n/a