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

Fix operation to target URL resolution #615

Merged
merged 4 commits into from Aug 10, 2022
Merged

Fix operation to target URL resolution #615

merged 4 commits into from Aug 10, 2022

Conversation

viveklak
Copy link
Contributor

@viveklak viveklak commented Aug 10, 2022

We were erroneously recording the operation self-links as target identifiers for some resources. This change fixes it.

Fixes #611

See details here: #611 (comment)

@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

1 similar comment
@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Comment on lines +802 to +806
targetLink, hasTargetLink := getTargetLink(resp)
if !hasTargetLink {
targetLink, hasTargetLink = getSelfLink(resp)
}

Copy link
Contributor Author

@viveklak viveklak Aug 10, 2022

Choose a reason for hiding this comment

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

This is the key change - we now look at both the target link and self-link properties to retrieve the target resource state.

@viveklak viveklak changed the title Fix operation to target resolution Fix operation to target URL resolution Aug 10, 2022
@viveklak viveklak enabled auto-merge (squash) August 10, 2022 17:14
@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

@viveklak viveklak merged commit b864674 into master Aug 10, 2022
@pulumi-bot pulumi-bot deleted the vl/611 branch August 10, 2022 22:06
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.

Invalid creationTimestamp when creating a regional network endpoint group with the beta api
2 participants