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.77k stars 9.12k forks source link

Feature request: Support for Amplify manual deployments #24720

Open draoncc opened 2 years ago

draoncc commented 2 years ago

Community Note

Description

AWS Amplify offers the option to do manual deployments through their API with the CreateDeployment and StartDeployment actions. A resource like aws_amplify_deployment could be added for purposing these to support manual deployments in Amplify.

New or Affected Resource(s)

Potential Terraform Configuration

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.
resource "aws_amplify_app" "example" {
  name = "app"
}

resource "aws_amplify_branch" "master" {
  app_id = aws_amplify_app.example.id
  branch_name = "master"
}

resource "aws_amplify_deployment" {
  app_id = aws_amplify_app.example.id
  branch_name = aws_amplify_branch.master.branch_name

  source_url = "https://s3.eu-central-1.amazonaws.com/my-s3-bucket/master.zip"
}

References

github-actions[bot] commented 5 months 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!

chris-callahan commented 5 months ago

bump

mfedak-tqgg commented 4 months ago

Great ides @draoncc I would really like to use this feature.

VladyslavKurmaz commented 1 month ago

extremely needed

Sofranac-Boro commented 1 month ago

bump

advaithhl commented 3 weeks ago

I'm surprised this doesn't exist till now! Bummer :(