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

Add support for PrivateLink for AWS and Azure #173

Merged
merged 20 commits into from Oct 24, 2022
Merged

Add support for PrivateLink for AWS and Azure #173

merged 20 commits into from Oct 24, 2022

Conversation

tbroden84
Copy link
Contributor

Adds support for PrivateLink for both AWS and Azure.

AWS:

  • status
  • allowed-principals
  • service-name
  • active-zones

Azure:

  • status
  • approved-subscriptions
  • server-name
  • alias

Make sure instance either have or can enable VPC before creating the PrivateLink.

@tbroden84 tbroden84 marked this pull request as ready for review October 17, 2022 09:16
@tbroden84 tbroden84 added enhancement New feature or request release-feature Include in "features" category in release notes labels Oct 17, 2022
@tbroden84
Copy link
Contributor Author

Related to issues
#142
#154

@@ -63,6 +65,17 @@ func resourcePrivateLinkAws() *schema.Resource {
Description: "Configurable timeout in seconds when enable PrivateLink",
},
},
CustomizeDiff: customdiff.All(
customdiff.ValidateValue("allowed_principals", func(value, meta interface{}) error {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Worked with the defined custom diff ValidateValue.

@tbroden84 tbroden84 merged commit 27f9066 into master Oct 24, 2022
@tbroden84 tbroden84 deleted the privatelink branch October 24, 2022 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request release-feature Include in "features" category in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants