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

TFP 1.46.0 data source: ibm_is_backup_policies, expected 'the empty list', but returned 'no BackupPolicies found' #4079

Closed
SeungYeop-Yang opened this issue Oct 5, 2022 · 1 comment · Fixed by #4082
Labels
service/VPC Infrastructure Issues related to the VPC Infrastructure

Comments

@SeungYeop-Yang
Copy link

SeungYeop-Yang commented Oct 5, 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

1.46.0

Affected Resource(s)

  • data ibm_is_backup_policies

Terraform Configuration Files

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

provider "ibm" {
  region = var.region
}

data ibm_is_backup_policies "available" {}

Debug Output

2022-10-05T13:08:07.006Z [INFO]  provider.terraform-provider-ibm_v1.46.0: 2022/10/05 13:08:07 [DEBUG] GET https://us-south.iaas.cloud.ibm.com/v1/backup_policies?generation=2&version=2022-09-13: timestamp=2022-10-05T13:08:07.006Z
2022-10-05T13:08:08.949Z [INFO]  provider.terraform-provider-ibm_v1.46.0: 2022/10/05 13:08:08 [Debug] Response:
HTTP/2.0 200 OK
Cache-Control: max-age=0, no-cache, no-store, must-revalidate
Cf-Cache-Status: DYNAMIC
Cf-Ray: 755662589a18aa15-DFW
Content-Type: application/json; charset=utf-8
Date: Wed, 05 Oct 2022 13:08:08 GMT
Expires: -1
Pragma: no-cache
Server: cloudflare
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Request-Id: ee6057ef-e23f-4bf0-aa96-4f266002993a
X-Xss-Protection: 1; mode=block

{"backup_policies":[],"first":{"href":"https://us-south.iaas.cloud.ibm.com/v1/backup_policies?limit=50"},"limit":50,"total_count":0}: timestamp=2022-10-05T13:08:08.949Z
2022-10-05T13:08:08.951Z [ERROR] vertex "data.ibm_is_backup_policies.available" error: [ERROR] no BackupPolicies found
2022-10-05T13:08:08.951Z [ERROR] vertex "data.ibm_is_backup_policies.available" error: [ERROR] no BackupPolicies found
2022-10-05T13:08:08.951Z [ERROR] vertex "data.ibm_is_backup_policies.available (expand)" error: [ERROR] no BackupPolicies found

Error: [ERROR] no BackupPolicies found

  with data.ibm_is_backup_policies.available,
  on main.tf line 6, in data "ibm_is_backup_policies" "available":
   6: data ibm_is_backup_policies "available" {} # 

Panic Output

Expected Behavior

Actual Behavior

Error: [ERROR] no BackupPolicies found

  with data.ibm_is_backup_policies.available,
  on main.tf line 6, in data "ibm_is_backup_policies" "available":
   6: data ibm_is_backup_policies "available" {} # 

Steps to Reproduce

  1. terraform apply

Important Factoids

# This file is maintained automatically by "terraform init".
# Manual edits may be lost in future updates.

provider "registry.terraform.io/ibm-cloud/ibm" {
  version = "1.46.0"
  hashes = [
    "h1:j0+7z8mKyTIVrn/1HjiHmJdfHRoFcacyXg3kFacbTaY=",
    "zh:50b4360b3e0046e08f2fb6d486bb5a00575c0ffa297e4e9371e9cdd31abdcec3",
    "zh:541464d7588912d4e02170d06b6e3fa82da97dcadd04662c98291deb8bdc5ced",
    "zh:684fc6fd3b948bb49235862bb3b4f57aee81c30fcc23c53f08296282a761c93b",
    "zh:84f39c0ce3fe239d8b4e311f219a78834c9f619fc185cf3a3ca4910e089788c0",
    "zh:ca4cfacba214f7846dd5f2b4b86ff9067e18a50156e4c3d75de2a0b7905c5594",
    "zh:d63d9882d191fe2fd1bf6678bdf338812cf854b7cc7157869166dc5d1301d495",
  ]
}

References

  • #0000
@SeungYeop-Yang SeungYeop-Yang changed the title data source: ibm_is_backup_policies, expected 'the empty list', but returned 'no BackupPolicies found' TFP 1.46.0 data source: ibm_is_backup_policies, expected 'the empty list', but returned 'no BackupPolicies found' Oct 5, 2022
@SunithaGudisagarIBM
Copy link
Collaborator

#4082

@kavya498 kavya498 added the service/VPC Infrastructure Issues related to the VPC Infrastructure label Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/VPC Infrastructure Issues related to the VPC Infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants