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.17k forks source link

[Enhancement]: AWS Service Catalog Associate Service Action with Provisioning Artifact #32604

Open ajasathia opened 1 year ago

ajasathia commented 1 year ago

Description

There is a terraform resource for creating a servicecatalog service action 'aws_servicecatalog_service_action' but there is no resource for associating the service action with a provisioning artifact. Service Action has no use in itself unless associated with a provisioning artifact. Can we have a new resource for associating a service action with a provisioning artifact?

Requested Resource(s) and/or Data Source(s)

aws_servicecatalog_service_action_association

Potential Terraform Configuration

resource "aws_servicecatalog_service_action_association" "example" {
  service_action_id               = aws_servicecatalog_service_action.example.id
  product_id                      = aws_servicecatalog_product.example.id
  provisioning_artifact_id        = "pa-xxxxxxxxxxxxx"
}

References

AWS SDK Documentation: https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/servicecatalog#AssociateServiceActionWithProvisioningArtifactInput

AWS CLI Documentation: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/servicecatalog/associate-service-action-with-provisioning-artifact.html

Would you like to implement a fix?

None

github-actions[bot] commented 1 year ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue