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

Bug Fix Policy #3413

Merged
merged 1 commit into from
Dec 16, 2021
Merged

Bug Fix Policy #3413

merged 1 commit into from
Dec 16, 2021

Conversation

harshit777
Copy link
Contributor

Bug Fix for Policy crash when utilising CRN for instance_id #3351

@@ -204,7 +204,7 @@ func resourceIBMKmsKeyPolicyCreate(context context.Context, d *schema.ResourceDa
return diag.Errorf("Could not create policies: %s", err)
}
d.SetId(key.CRN)
return resourceIBMKmsKeyPolicyUpdate(context, d, meta)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it changed to Read?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually it was by mistake added to update after create..IT should go to read

@hkantare hkantare merged commit 7b4887a into IBM-Cloud:master Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants