OctopusDeployLabs / terraform-provider-octopusdeploy

Terraform Provider for Octopus Deploy :octopus:
https://registry.terraform.io/providers/OctopusDeployLabs/octopusdeploy
Mozilla Public License 2.0
80 stars 67 forks source link

Add Support for Amazon ECS Cluster Deployment Target #314

Open jbristowe opened 2 years ago

jbristowe commented 2 years ago

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.

rshmyr commented 2 years ago

We are eagerly waiting for this resource )

johnsimons commented 2 years ago

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 = "..."
}
ojle commented 1 year ago

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

danielllek commented 1 year ago

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).

zentron commented 1 year ago

@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.

amaingot commented 2 months ago

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