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

added self_link to hvn, peering and tgw attachment #111

Merged
merged 3 commits into from
Apr 26, 2021
Merged

added self_link to hvn, peering and tgw attachment #111

merged 3 commits into from
Apr 26, 2021

Conversation

smaant
Copy link
Contributor

@smaant smaant commented Apr 22, 2021

🛠️ Description

Added self_link attribute to hvn, peering and tgw attachment resources and datasources.

@smaant smaant requested review from bcmdarroch, nombiezinja and a team April 22, 2021 23:55
@hashicorp-cla
Copy link

hashicorp-cla commented Apr 22, 2021

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@nombiezinja nombiezinja left a comment

Choose a reason for hiding this comment

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

LGTM but am unfamiliar with the repo so will let Brenna do the approval!

Copy link
Contributor

@bcmdarroch bcmdarroch left a comment

Choose a reason for hiding this comment

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

@smaant
Copy link
Contributor Author

smaant commented Apr 26, 2021

@bcmdarroch good point, thank you for noticing! updated the test

@@ -102,6 +106,41 @@ func testAccCheckHvnExists(name string) resource.TestCheckFunc {
}
}

func testSelfLink(name string, expectedID, expectedType string) resource.TestCheckFunc {
Copy link
Contributor

Choose a reason for hiding this comment

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

thanks for adding this! probably something we could share with future tests :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, this is how I saw it too

@smaant smaant merged commit 7c47e0e into main Apr 26, 2021
@smaant smaant deleted the self-link branch April 26, 2021 23:30
aidan-mundy added a commit that referenced this pull request Sep 8, 2023
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.

4 participants