Skip to content

Feat/add masked flag to tf provider #88

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

Conversation

rafaribe
Copy link
Contributor

Context:

I want to be able to provision Masked VDB's via the terraform provider, the API has a masked flag that allows a user to mark the VDB as masked, but the terraform provider didn't had that option.

Problem:

Terraform provider won't allow masked VDB's to be created while the API would.

Solution:

Add masked as a flag to the VDB resource int he terraform provider to allow the TF provider to pass this flag along to the DCT API.

Testing

We hot-replaced the binary for the provider with a compiled version that I created and tested it with DCT version 16.0.0.0

Implementation:

Simple implementation, I just added the masking flag to VDB's for snapshot, timestamp or bookmark provision_type auxiliary methods and therefore the provisioning for masked VDB's works across all three types.

@Uddipaan-Hazarika Uddipaan-Hazarika changed the base branch from main to develop June 18, 2024 09:27
@Uddipaan-Hazarika
Copy link
Contributor

Changing the base to develop branch. We are in the process of reviewing it, we will review it and merge it and will let you know. Thanks

@rafaribe
Copy link
Contributor Author

Any updates on this matter?

Thanks

@Uddipaan-Hazarika
Copy link
Contributor

Hi Yes, @rafaribe the change looks good to me. I will approve the change. We will proceeding with our standard tests and regression procedure.

@Uddipaan-Hazarika Uddipaan-Hazarika self-requested a review June 20, 2024 11:39
Copy link
Contributor

@Uddipaan-Hazarika Uddipaan-Hazarika left a comment

Choose a reason for hiding this comment

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

Looks good to me.

Copy link
Contributor

@elima-sugunan elima-sugunan left a comment

Choose a reason for hiding this comment

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

Looks good to me

@Uddipaan-Hazarika Uddipaan-Hazarika merged commit cde0fd3 into delphix-integrations:develop Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

6 participants