Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCC data.ibm_scc_posture_latest_scans failing #3594

Closed
data-henrik opened this issue Feb 16, 2022 · 3 comments
Closed

SCC data.ibm_scc_posture_latest_scans failing #3594

data-henrik opened this issue Feb 16, 2022 · 3 comments
Labels
service/SCC Issues related to SCC

Comments

@data-henrik
Copy link
Contributor

data-henrik commented Feb 16, 2022

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform CLI and Terraform IBM Provider Version

Affected Resource(s)

  • data.ibm_scc_posture_latest_scans

Terraform Configuration Files

terraform {
  required_version = ">= 1.0.0"
  required_providers {
    ibm = {
      source  = "ibm-cloud/ibm"
      version = "1.39.0-beta0"
    }
  }
}
data "ibm_scc_posture_latest_scans" "list_latest_scans" {
}

Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please share a link to the ZIP file.

Debug Output

$ terraform plan
╷
│ Error: [ERROR] Error occurred while configuring Security Posture Management API service:  `eu-de` region not supported
│ 
│   with data.ibm_scc_posture_latest_scans.list_latest_scans,
│   on main.tf line 18, in data "ibm_scc_posture_latest_scans" "list_latest_scans":
│   18: data "ibm_scc_posture_latest_scans" "list_latest_scans" {

2022-02-16T17:28:25.151+0100 [INFO]  provider.terraform-provider-ibm_v1.39.0-beta0: 2022/02/16 17:28:25 [INFO] Configured Region: eu-de: timestamp=2022-02-16T17:28:25.151+0100
2022-02-16T17:28:28.347+0100 [DEBUG] Resource instance state not found for node "data.ibm_scc_posture_latest_scans.list_latest_scans", instance data.ibm_scc_posture_latest_scans.list_latest_scans
2022-02-16T17:28:28.347+0100 [DEBUG] ReferenceTransformer: "data.ibm_scc_posture_latest_scans.list_latest_scans" references: []
2022-02-16T17:28:28.351+0100 [ERROR] vertex "data.ibm_scc_posture_latest_scans.list_latest_scans" error: [ERROR] Error occurred while configuring Security Posture Management API service:  `eu-de` region not supported
2022-02-16T17:28:28.351+0100 [ERROR] vertex "data.ibm_scc_posture_latest_scans.list_latest_scans" error: [ERROR] Error occurred while configuring Security Posture Management API service:  `eu-de` region not supported
2022-02-16T17:28:28.351+0100 [ERROR] vertex "data.ibm_scc_posture_latest_scans.list_latest_scans (expand)" error: [ERROR] Error occurred while configuring Security Posture Management API service:  `eu-de` region not supported
@github-actions github-actions bot added the service/SCC Issues related to SCC label Feb 16, 2022
@srmamit
Copy link

srmamit commented Mar 17, 2022

terraform version 1.39.2 might help get around this.

@data-henrik
Copy link
Contributor Author

@srmamit Might help or will help?

@hkantare
Copy link
Collaborator

hkantare commented May 6, 2022

Fixed in latest releases

@hkantare hkantare closed this as completed May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/SCC Issues related to SCC
Projects
None yet
Development

No branches or pull requests

3 participants