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
TASK [create cos bucket] ***********************************************************************************************************************************
task path: /home/trey/barge-deploy/test.yml:7
fatal: [localhost]: FAILED! => {"changed": false, "msg": "", "rc": 1, "resource": {"_name": "ansible_20210621-160547", "_type": "ibm_cos_bucket", "target": "ibm_cos_bucket.ansible_20210621-160547"}, "stderr": "\nError: BucketAlreadyExists: The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again.\n\tstatus code: 409, request id: f3f6d093-381d-4c39-bf77-ad03c6054e38, host id: \n\n on ibm_cos_bucket_ansible_20210621-160547.tf line 1, in resource \"ibm_cos_bucket\" \"ansible_20210621-160547\":\n 1: resource ibm_cos_bucket \"ansible_20210621-160547\" {\n\n\n", "stderr_lines": ["", "Error: BucketAlreadyExists: The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again.", "\tstatus code: 409, request id: f3f6d093-381d-4c39-bf77-ad03c6054e38, host id: ", "", " on ibm_cos_bucket_ansible_20210621-160547.tf line 1, in resource \"ibm_cos_bucket\" \"ansible_20210621-160547\":", " 1: resource ibm_cos_bucket \"ansible_20210621-160547\" {", "", ""], "stdout": "ibm_cos_bucket.ansible_20210621-160547: Creating...\n", "stdout_lines": ["ibm_cos_bucket.ansible_20210621-160547: Creating..."]}
The text was updated successfully, but these errors were encountered:
According to https://github.com/IBM-Cloud/ansible-collection-ibm/blob/master/docs/ibm_cos_bucket.rst, the ibm_cos_bucket module supports idempotency, but it doesn't look like it's working currently. Here is my test playbook:
And when I first run the playbook, the bucket gets created:
When I run it a second time:
The text was updated successfully, but these errors were encountered: