-
Notifications
You must be signed in to change notification settings - Fork 626
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 cloudflare_account_roles data source #1238
Add cloudflare_account_roles data source #1238
Conversation
solid start! can you please also:
|
Co-authored-by: Jacob Bednarz <jacob.bednarz@hey.com>
Applied feedback. Let me know if I need to do anything else and if you want me to squash the commits. |
website/cloudflare.erb
Outdated
@@ -25,6 +25,9 @@ | |||
<li<%= sidebar_current("docs-cloudflare-datasource") %>> | |||
<a href="#">Data Sources</a> | |||
<ul class="nav nav-visible"> | |||
<li<%= sidebar_current("docs-cloudflare-account-roles") %>> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<li<%= sidebar_current("docs-cloudflare-account-roles") %>> | |
<li<%= sidebar_current("docs-cloudflare-datasource-account-roles") %>> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this line also incorrect then sidebar_current("docs-cloudflare-api-token-permission-groups")
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, the value in sidebar_current()
needs to match the sidebar_current
value in the YAML which this case does. they match and work but they should include datasource
somewhere in the value but you don't have to worry about fixing that here.
Let me know if I need to do anything else. |
this looks good! acceptance tests are all passing locally!
|
solid effort on this one! thanks for your help getting this one over the line. 👏 |
Closes #1161
I'm not experienced with Go and didn't want to run
make testacc
against our account so I'm not too sure about the tests.However, I've tested with the terraform snippet I used in the documentation and it's working as expected.
I haven't mapped the
permissions
field but this would be enough for the use case mentioned in #1161.