hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.82k stars 9.16k forks source link

Need to add data source for aws codedeploy service #8858

Open KursLabIgor opened 5 years ago

KursLabIgor commented 5 years ago

Community Note

Description

Need to add data source for AWS CodeDeploy service that we can fully support Blue/Green deployment. As described here https://www.terraform.io/docs/providers/aws/r/codedeploy_deployment_group.html We cant use option COPY_AUTO_SCALING_GROUP in case if compute type EC2.

New or Affected Resource(s)

Potential Terraform Configuration

data "aws_codedeploy_service" {
app_name = <app_name>
deployment_group = <deployment_group_name>
}

Reference to AWS cli which can be used for achieve it

https://docs.aws.amazon.com/cli/latest/reference/deploy/get-deployment-group.html

Similar issue was rised

https://github.com/terraform-providers/terraform-provider-aws/issues/4678

github-actions[bot] commented 3 years ago

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.

If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!

github-actions[bot] commented 3 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.