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

SUP-1628: Adjustment of Organization resource Allowed API IP address state persistence #458

Merged
merged 3 commits into from
Dec 21, 2023

Conversation

james2791
Copy link
Contributor

@james2791 james2791 commented Dec 21, 2023

Refactor (Organization resource): Adjustment of Organization resource Allowed API IP state

PR checklist:

  • docs/ updated -> Internal state change alteration to fix clearing the property case
  • tests added
  • an example added to examples/ (useful to demo new field/resource)
  • CHANGELOG.md updated with pending release information

Bit of correction for the organinzation resource and allowed IPs - basically if you either create/update an organization and clear off the allowed IPs property in resource definition, state != plan and Terraform will complain that null doesnt equal an empty string list. This addresses this edge case by setting the IP allowlist in state on creates and updates to the plan value to keep consistency

@james2791 james2791 changed the title SUP-1628: Adjustment of Organization resource Allowed API IP state SUP-1628: Adjustment of Organization resource Allowed API IP address state persistence Dec 21, 2023
@james2791 james2791 marked this pull request as ready for review December 21, 2023 04:25
Copy link
Contributor

@lizrabuya lizrabuya left a comment

Choose a reason for hiding this comment

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

👍

@james2791 james2791 merged commit d1b1433 into main Dec 21, 2023
1 check passed
@james2791 james2791 deleted the SUP-1628-Org-Allowed-API-IPs branch December 21, 2023 05:16
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