» Resource: aws_codedeploy_app
Provides a CodeDeploy application to be used as a basis for deployments
» Example Usage
» ECS Application
resource "aws_codedeploy_app" "example" {
compute_platform = "ECS"
name = "example"
}
» Lambda Application
resource "aws_codedeploy_app" "example" {
compute_platform = "Lambda"
name = "example"
}
» Server Application
resource "aws_codedeploy_app" "example" {
compute_platform = "Server"
name = "example"
}
» Argument Reference
The following arguments are supported:
-
name
- (Required) The name of the application. -
compute_platform
- (Optional) The compute platform can either beECS
,Lambda
, orServer
. Default isServer
.
» Attribute Reference
The following arguments are exported:
» Import
CodeDeploy Applications can be imported using the name
, e.g.
$ terraform import aws_codedeploy_app.example my-application