terraform-provider-pagerduty icon indicating copy to clipboard operation
terraform-provider-pagerduty copied to clipboard

Automate Slack Extension

Open djtecha opened this issue 4 years ago • 2 comments
trafficstars

With the creation of the new slack resource in the provider, how are we supposed to automate the linking of this resource to a service and team if we have to associate a users PD token every time? We have a automation pipeline that runs TF and shouldn't be associated with a user? Does this mean i'm forced to create a bot user for this case?

djtecha avatar Oct 12 '21 21:10 djtecha

Did you have resolve this issue? if so could you provide the sample code that i faced issue like your request.

JayChanggithub avatar Jan 18 '22 06:01 JayChanggithub

provider "pagerduty" { token = data.aws_ssm_parameter.pagerduty_token.value user_token = data.aws_ssm_parameter.pagerduty_api_key.value }

Then you can at least source the value from a data object.

djtecha avatar Jan 18 '22 17:01 djtecha