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

Re-opening PR #755 #762

Merged
merged 2 commits into from
Jan 26, 2018
Merged

Re-opening PR #755 #762

merged 2 commits into from
Jan 26, 2018

Conversation

tombuildsstuff
Copy link
Contributor

From the original PR #755 - originally opened by @agnelantony2:

Working with Arun Chandrasekhar from Microsoft on this issue. We are trying use Terraform modules for Azure Role Definitions and Assignments. Looks like current code supports only 4 built-in roles. Hence added missing built-in roles and VirtualMachineOperator had an incorrect GUID. Updated that GUID as well.

Thanks,
Agnel

In order to get this into the release (which we're doing shortly) - I've added a commit to PR #755 to fix the tests. However I'm unable to push to @agnelantony2's fork - so I've had to reopen this PR using the original commits - however this is mostly @agnelantony2 's work

Tests pass:

$ acctests azurerm TestAccDataSourceAzureRMBuiltInRoleDefinition_
=== RUN   TestAccDataSourceAzureRMBuiltInRoleDefinition_contributor
--- PASS: TestAccDataSourceAzureRMBuiltInRoleDefinition_contributor (12.59s)
=== RUN   TestAccDataSourceAzureRMBuiltInRoleDefinition_owner
--- PASS: TestAccDataSourceAzureRMBuiltInRoleDefinition_owner (8.40s)
=== RUN   TestAccDataSourceAzureRMBuiltInRoleDefinition_reader
--- PASS: TestAccDataSourceAzureRMBuiltInRoleDefinition_reader (7.82s)
=== RUN   TestAccDataSourceAzureRMBuiltInRoleDefinition_virtualMachineContributor
--- PASS: TestAccDataSourceAzureRMBuiltInRoleDefinition_virtualMachineContributor (9.35s)
PASS
ok      github.com/terraform-providers/terraform-provider-azurerm/azurerm       38.201s

Fixes #670
Fixes #671

aantony2 and others added 2 commits January 25, 2018 16:37
Also adds a couple of TODO's for future refactoring

Tests pass:

```
$ acctests azurerm TestAccDataSourceAzureRMBuiltInRoleDefinition_
=== RUN   TestAccDataSourceAzureRMBuiltInRoleDefinition_contributor
--- PASS: TestAccDataSourceAzureRMBuiltInRoleDefinition_contributor (12.59s)
=== RUN   TestAccDataSourceAzureRMBuiltInRoleDefinition_owner
--- PASS: TestAccDataSourceAzureRMBuiltInRoleDefinition_owner (8.40s)
=== RUN   TestAccDataSourceAzureRMBuiltInRoleDefinition_reader
--- PASS: TestAccDataSourceAzureRMBuiltInRoleDefinition_reader (7.82s)
=== RUN   TestAccDataSourceAzureRMBuiltInRoleDefinition_virtualMachineContributor
--- PASS: TestAccDataSourceAzureRMBuiltInRoleDefinition_virtualMachineContributor (9.35s)
PASS
ok  	github.com/terraform-providers/terraform-provider-azurerm/azurerm	38.201s
```
@ghost
Copy link

ghost commented Mar 31, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants