Open nikskiz opened 9 months ago
I am defining upgrade profile
resource "netskope_publisher_upgrade_profiles" "weekly" { name = "${var.identifier}-weekly-upgrade-profile" docker_tag = "latest" enabled = true frequency = "0 7 * * MON#1" # Monday 7AM every week release_type = "Latest" timezone = "Australia/Sydney" }
And terraform apply I get the error
terraform apply
Error: You cannot consume this service
If I run the request directly to the API it works
curl -X 'POST' \ 'https://<TENANT>.goskope.com/api/v2/infrastructure/publisherupgradeprofiles' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "name": "testing", "frequency": "0 7 * * MON#1", "timezone": "Australia/Sydney", "docker_tag": "latest", "release_type": "Latest", "enabled": 1 }'
I am defining upgrade profile
And
terraform apply
I get the errorIf I run the request directly to the API it works