CiscoDevNet / terraform-provider-tetration

Terraform Provider for managing Cisco Secure Workload (Tetration) resources.
MIT License
0 stars 4 forks source link

Question: Support for Tetration 3.6? #3

Closed frazhamid closed 2 years ago

frazhamid commented 2 years ago

Hi all,

Would you be able to advise if this provider will work with Tetration 3.6?

We are a new customer and having some issues using this provider with our new TaaS account to provision users and application scopes.

I tested again on tetrationpreview.com and am hitting an issue creating a user:

│  failed with status code 404
│  response map[error:object not found status:not_found]
│ &{Status:404 Not Found StatusCode:404 Proto:HTTP/2.0 ProtoMajor:2 ProtoMinor:0 Header:map[Cache-Control:[no-cache] Content-Length:[49] Content-Security-Policy:[default-src 'self' https:; base-uri 'self'; connect-src 'self' https: api.amplitude.com; font-src 'self' data: https:; frame-ancestors 'self' https:; img-src 'self' blob: data: https: www.google-analytics.com; object-src 'none'; script-src 'self' https: 'strict-dynamic' www.google-analytics.com cdn.amplitude.com; style-src 'self' https: 'unsafe-inline'] Content-Type:[application/json; charset=utf-8] Date:[Sat, 29 Jan 2022 08:26:23 GMT] Server:[ZENEDGE] Strict-Transport-Security:[max-age=31536000; includeSubDomains; preload;] Vary:[Accept-Encoding] X-Cache-Status:[NOTCACHED] X-Cdn:[Served-By-Zenedge] X-Content-Type-Options:[nosniff] X-Download-Options:[noopen] X-Frame-Options:[sameorigin] X-Permitted-Cross-Domain-Policies:[none] X-Request-Id:[1922918120816992_1034251443_1643444782_85255959784] X-Runtime:[0.008110] X-Xss-Protection:[1; mode=block] X-Zen-Fury:[d89ebfec0eb09445b2984d3e591d6185b986fa03]] Body:{cs:0xc00026a9a0} ContentLength:49 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc000099300 TLS:0xc000728000}

When i try to run on our new account I cannot seem to create a user or a scope either:

tetration_scope.example_app_a_scope: Creating...

╷
│ Error: Post "https://xxx.tetrationcloud.com/openapi/v1/app_scopes": dial tcp: lookup xxx.tetrationcloud.com on 172.21.32.1:53: no such host
│
│   with tetration_scope.example_app_a_scope,
│   on user.tf line 17, in resource "tetration_scope" "example_app_a_scope":
│   17: resource "tetration_scope" "example_app_a_scope" {
│
╵

Any help/advice would be appreciated! Example of my TF Code below:

resource "tetration_scope" "example_app_a_scope" { 
  short_name          = "Example Application B" 
  short_query_type    = "eq" 
  short_query_field   = "user_application" 
  short_query_value   = "Example Application B" 
  parent_app_scope_id = "61f2f8dc497d4f186bfcdd14"
} 
frazhamid commented 2 years ago

Closing issue. I have worked with support to determine the issue.