terraform-provider-octopusdeploy icon indicating copy to clipboard operation
terraform-provider-octopusdeploy copied to clipboard

Add Support for Amazon ECS Cluster Deployment Target

Open jbristowe opened this issue 3 years ago • 6 comments

Currently, there is no support to manage Amazon ECS cluster deployment targets. This issue proposed the creation of the resource, octopusdeploy_aws_ecs_cluster_deployment_target.

jbristowe avatar Jan 13 '22 09:01 jbristowe

We are eagerly waiting for this resource )

rshmyr avatar Jan 13 '22 09:01 rshmyr

Given that the AWS ECS deployment target is versioned independent from Octopus Server, here is what I am proposing:

resource "octopusdeploy_aws_ecs_cluster_deployment_target_v1.0.4" "example" {
  aws_account_id = "Accounts-2"
  cluster_name   = "my_cluster"
  region         = "us-east"
}

The important part above is that the resource is versioned so that the schema and hence validation is applied correctly.

Same for datasource, example:

data "octopusdeploy_aws_ecs_cluster_deployment_targets_v1.0.4" "example" {
  deployment_id = "..."
}

johnsimons avatar Jan 18 '22 06:01 johnsimons

@johnsimons any progress on this?? It is really necessary resource

ojle avatar Sep 14 '22 17:09 ojle

I am creating all my infrastructure from terraform, this includes Octopus projects, AWS infrastructure, service deployments.

I'd like to use Update Amazon ECS Service step to update service deployments.

My goal is to create complete CD pipeline: TeamCity -> Octopus(Update Amazon ECS Service step) -> ECS Services

Unfortunately, the only missing link to make all as IaC is adding Update ECS step from terraform.

When this feature will be present in terraform provider? Most other steps are already there (I use some of them).

danielllek avatar Feb 14 '23 11:02 danielllek

@danielllek , unfortunately the terraform provider does not currently have first class support for these new step types. We are continuing to consider the best way we can invest into bridging this gap and will keep you updated when we have a clearer timeline towards a solution.

zentron avatar Mar 10 '23 01:03 zentron

@zentron This is super important to my organization. Can you please prioritize this?

amaingot avatar Jun 25 '24 15:06 amaingot