AWS OpsWorks Application

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

aws_opsworks_application (Terraform)

The Application in OpsWorks can be configured in Terraform with the resource name aws_opsworks_application. The following sections describe 3 examples of how to use the resource and its parameters.

Example Usage from GitHub

require_ssl.tf#L9
resource "aws_opsworks_application" "opsworks_app_ssl_enabled" {
  name        = "foobar application"
  short_name  = "foobar"
  stack_id    = "ExampleStackID"
  type        = "rails"
  description = "This is a Rails application"
require_ssl.tf#L9
resource "aws_opsworks_application" "opsworks_app_ssl_enabled" {
  name        = "foobar application"
  short_name  = "foobar"
  stack_id    = "ExampleStackID"
  type        = "rails"
  description = "This is a Rails application"
main.tf#L7
resource "aws_opsworks_application" "this" {
  auto_bundle_on_deploy     = var.auto_bundle_on_deploy
  aws_flow_ruby_settings    = var.aws_flow_ruby_settings
  data_source_arn           = var.data_source_arn
  data_source_database_name = var.data_source_database_name
  data_source_type          = var.data_source_type

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

Explanation in Terraform Registry

Provides an OpsWorks application resource.

AWS::OpsWorks::App (CloudFormation)

The App in OpsWorks can be configured in CloudFormation with the resource name AWS::OpsWorks::App. 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

Creates an app for a specified stack. For more information, see Creating Apps. Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

Frequently asked questions

What is AWS OpsWorks Application?

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

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

For Terraform, the ffsclyh/config-lint, stelligent/config-lint and niveklabs/aws source code examples are useful. See the Terraform Example section for further details.