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

Access control policies #175

Merged
merged 46 commits into from
Dec 3, 2020
Merged

Access control policies #175

merged 46 commits into from
Dec 3, 2020

Conversation

coderGo93
Copy link
Contributor

@coderGo93 coderGo93 commented Oct 28, 2020

Added Resource, datasource(s), tests, docs of Access Control Policies.

The acceptance tests has been passed.

Source: https://www.nutanix.dev/reference/prism_central/v3/api/access-control-policies/

@coderGo93 coderGo93 self-assigned this Oct 28, 2020
@coderGo93 coderGo93 changed the title WIP: Access control policies Access control policies Oct 30, 2020
@coderGo93 coderGo93 changed the base branch from master to v1.2.0 October 30, 2020 20:26
Copy link
Contributor

@marinsalinas marinsalinas left a comment

Choose a reason for hiding this comment

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

Taken a look into the Schema and I left some comments.

Also, can you address the linting error as well?

nutanix/resource_access_control_policy.go Outdated Show resolved Hide resolved
nutanix/resource_access_control_policy.go Outdated Show resolved Hide resolved
nutanix/resource_access_control_policy.go Outdated Show resolved Hide resolved
nutanix/resource_access_control_policy.go Outdated Show resolved Hide resolved
nutanix/resource_access_control_policy.go Outdated Show resolved Hide resolved
@yannickstruyf3
Copy link
Collaborator

@coderGo93 Can we rename the files so that they match the others:
resource_access_control_policy.go => resource_nutanix_access_control_policy.go
resource_access_control_policy_test.go => resource_nutanix_access_control_policy.go

@marinsalinas
Copy link
Contributor

@yannickstruyf3, next time, can you create another branch with your changes and make a PR against this branch in order to avoid conflicts if @coderGo93 is working on the same branch as well? I think this can avoid conflicts or unwanted changes.

@yannickstruyf3
Copy link
Collaborator

@coderGo93 Modified the code for resource_domain to support maxItems 1 and to make it optional (in case no quotas are required)
#183

@marinsalinas marinsalinas changed the base branch from v1.2.0 to v1.2.0-beta December 3, 2020 15:39
@marinsalinas marinsalinas merged commit a6a8e50 into v1.2.0-beta Dec 3, 2020
@marinsalinas marinsalinas deleted the access-policies branch December 3, 2020 21:49
yannickstruyf3 pushed a commit to yannickstruyf3/terraform-provider-nutanix that referenced this pull request Nov 9, 2021
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