AWS AppConfig Application

This page shows how to write Terraform and CloudFormation for AppConfig Application and write them securely.

aws_appconfig_application (Terraform)

The Application in AppConfig can be configured in Terraform with the resource name aws_appconfig_application. The following sections describe 1 example of how to use the resource and its parameters.

Example Usage from GitHub

config.tf#L1
resource "aws_appconfig_application" "this" {
  name        = var.name
  description = "Lobby Boy"
}

resource "aws_appconfig_environment" "this" {

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

The following arguments are supported:

  • name - (Required) The name for the application. Must be between 1 and 64 characters in length.
  • description - (Optional) The description of the application. Can be at most 1024 characters.
  • tags - (Optional) A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

In addition to all arguments above, the following attributes are exported:

  • arn - The Amazon Resource Name (ARN) of the AppConfig Application.
  • id - The AppConfig application ID.
  • tags_all - A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Explanation in Terraform Registry

Provides an AppConfig Application resource.

AWS::AppConfig::Application (CloudFormation)

The Application in AppConfig can be configured in CloudFormation with the resource name AWS::AppConfig::Application. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Parameters

Explanation in CloudFormation Registry

The AWS::AppConfig::Application resource creates an application, which is a logical unit of code that provides capabilities for your customers. For example, an application can be a microservice that runs on Amazon EC2 instances, a mobile application installed by your users, a serverless application using Amazon API Gateway and AWS Lambda, or any system you run on behalf of others.

AWS AppConfig requires that you create resources and deploy a configuration in the following order:1. Create an application1. Create an environment1. Create a configuration profile1. Create a deployment strategy1. Deploy the configurationFor more information, see AWS AppConfig in the AWS AppConfig User Guide.

Frequently asked questions

What is AWS AppConfig Application?

AWS AppConfig Application is a resource for AppConfig of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS AppConfig Application?

For Terraform, the easyas314159/lobbyboy source code example is useful. See the Terraform Example section for further details.