You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when I run terraform, it throws the below error
│ unable to create Collection "\"Example\"": get collection: list collections: Get "https:///us-west1.cloud.twistlock.com/api/v32.06/collections": http: no Host in request URL
it is not using the complete console address to get the collection list, it should have been trying https:///us-west1.cloud.twistlock.com/us-x-xxxxxxxx/api/v32.06/collections
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
prismacloud-waas_collection.Example: Creating...
╷
│ Error: Client Error
│
│ with prismacloud-waas_collection.Example,
│ on collection.tf line 1, in resource "prismacloud-waas_collection" "Example":
│ 1: resource "prismacloud-waas_collection" "Example" {
│
│ unable to create Collection ""Example"": get collection: list collections: Get "https:///us-west1.cloud.twistlock.com/api/v32.06/collections": http: no Host in request URL
The text was updated successfully, but these errors were encountered:
Describe the bug
I provided the console_url in terraform.vars like below
console_url = "us-west1.cloud.twistlock.com/us-x-xxxxxxxx"
But when I run terraform, it throws the below error
│ unable to create Collection "\"Example\"": get collection: list collections: Get "https:///us-west1.cloud.twistlock.com/api/v32.06/collections": http: no Host in request URL
it is not using the complete console address to get the collection list, it should have been trying
https:///us-west1.cloud.twistlock.com/us-x-xxxxxxxx/api/v32.06/collections
Expected behavior
It should be using the below link
https://us-west1.cloud.twistlock.com/us-x-xxxxxxxx/api/v32.06/collections
Current behavior
https://us-west1.cloud.twistlock.com/api/v32.06/collections
Steps to reproduce
Screenshots
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
prismacloud-waas_collection.Example: Creating...
╷
│ Error: Client Error
│
│ with prismacloud-waas_collection.Example,
│ on collection.tf line 1, in resource "prismacloud-waas_collection" "Example":
│ 1: resource "prismacloud-waas_collection" "Example" {
│
│ unable to create Collection ""Example"": get collection: list collections: Get "https:///us-west1.cloud.twistlock.com/api/v32.06/collections": http: no Host in request URL
The text was updated successfully, but these errors were encountered: