We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there,
This is a feature request. It will be nice you included support for importing code deploy apps.
$ terraform -v Terraform v0.10.2
Please list the resources as a list, for example:
resource "aws_codedeploy_app" "app" { name = "${var.project}" } resource "aws_codedeploy_deployment_group" "deployment-group" { app_name = "${aws_codedeploy_app.app.name}" deployment_group_name = "${var.project}-App" service_role_arn = "${aws_iam_role.codedeploy_iam_role.arn}" auto_rollback_configuration { enabled = false } autoscaling_groups = ["${aws_autoscaling_group.asg.name}"] deployment_config_name = "CodeDeployDefault.OneAtATime" }
CodeDeploy app imported to the state file
aws_codedeploy_app.app: Importing from ID "aws-codedeploy-app"... Error importing: 1 error(s) occurred:
... aws_codedeploy_deployment_group.deployment-group: Importing from ID "dg-App"... Error importing: 1 error(s) occurred:
Please list the steps required to reproduce the issue, for example:
terraform import aws_codedeploy_app.app aws-codedeploy-app
terraform import aws_codedeploy_deployment_group.deployment-group dg-App
The text was updated successfully, but these errors were encountered:
Hello guys,
I'm in the same situation, still no way to import a deployment group
Sorry, something went wrong.
Pull request submitted: #6025
Support for aws_codedeploy_* resource import has been merged and will release with version 1.39.0 of the AWS provider, likely later today.
aws_codedeploy_*
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!
Successfully merging a pull request may close this issue.
Hi there,
This is a feature request. It will be nice you included support for importing code deploy apps.
Terraform Version
$ terraform -v
Terraform v0.10.2
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Expected Behavior
CodeDeploy app imported to the state file
Actual Behavior
aws_codedeploy_app.app: Importing from ID "aws-codedeploy-app"...
Error importing: 1 error(s) occurred:
...
aws_codedeploy_deployment_group.deployment-group: Importing from ID "dg-App"...
Error importing: 1 error(s) occurred:
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform import aws_codedeploy_app.app aws-codedeploy-app
terraform import aws_codedeploy_deployment_group.deployment-group dg-App
The text was updated successfully, but these errors were encountered: