Closed r8or0pz closed 3 years ago
Hey, this looks like an issue with authorisation using your api endpoint, can you check your api key and endpoint are correct?
Is this Kong Enterprise? If so then I believe you need to set kong_admin_token
and not kong_api_key
This is fixed by PR #140
After some time the deployment broke up...
Terraform Version
0.11.8
Kong Provider Version
"~> 1.9"
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
Debug Output
Coming soon...
Actual Behavior
kong_service.foo-bar: 1 error(s) occurred:
kong_service.foo-bar: kong_service.foo-bar: could not find kong service: not authorised, message from kong: {"message":"Invalid authentication credentials"}
kong_consumer.swagger-ui-crm: 1 error(s) occurred:
kong_consumer.swagger-ui-crm: kong_consumer.swagger-ui-crm: could not find kong consumer with id: 296365d4-192c-456b-8c8a-c8f8331fd00a error: not authorised, message from kong: {"message":"Invalid authentication credentials"}