FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

aws_opsworks_application

Provides an OpsWorks application resource.

Example Usage

resource "aws_opsworks_application" "foo-app" {
  name = "foobar application"
  short_name = "foobar"
  stack_id = "${aws_opsworks_stack.stack.id}"
  type = "rails"
  description = "This is a Rails application"
  domains = [
    "example.com",
    "sub.example.com"
  ]
  environment = {
    key = "key"
    value = "value"
    secure = false
  }
  app_source = {
    type = "git"
    revision = "master"
    url = "https://github.com/example.git"
  }
  enable_ssl = true
  ssl_configuration = {
    private_key = "${file("./foobar.key")}"
    certificate = "${file("./foobar.crt")}"
  }
  document_root = "public"
  auto_bundle_on_deploy = true
  rails_env = "staging"
}

Argument Reference

The following arguments are supported:

An app_source block supports the following arguments (can only be defined once per resource):

An environment block supports the following arguments:

A ssl_configuration block supports the following arguments (can only be defined once per resource):

Attributes Reference

The following attributes are exported:


See the source of this document at Terraform.io