-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Update provider_reference.html.markdown with TFE help #4194
Conversation
Updated to describe use of credentials in Terraform Cloud|Enterprise Workspaces.
+1 |
Hey @danawillow anything needed from me on this? |
Sorry about that, I picked up the review right before I went on vacation for two weeks 😐 . Looks like this got out-of-date in the meantime, mind rebasing onto master? |
This information is important. Have been diving around many rabbit holes before I reached here. I hope this gets in soon for anyone else searching for this info EDIT: Also it still isn't very clear. To add empty string replace eg :-
Hope this helps someone |
rebase my fork from upstream
Updated to describe use of credentials in Terraform Cloud|Enterprise Workspaces.
# Conflicts: # website/docs/provider_reference.html.markdown
Hey @danawillow Did I get that rebase right? I think I got it right. Still earning my Git stripes. :-p |
@@ -0,0 +1,328 @@ | |||
--- |
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.
Not sure how this extra file ended up in here, but it can probably be removed from the commit
@@ -73,7 +73,7 @@ same configuration. | |||
### Quick Reference | |||
|
|||
* `credentials` - (Optional) Either the path to or the contents of a | |||
[service account key file] in JSON format. You can | |||
[service account key file] in JSON format. If you're using the file contents, be sure you replace the line breaks with an empty string. You can |
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.
Do you know if this is true all the time, or just when using TFC or TFE?
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.
All the time- you're setting an environment variable which can't have linebreaks.
@ausfestivus Could you put an example usage of credentials with file contents in the documentation as well. Since I still could not get it to work as expected |
Signed-off-by: Modular Magician <magic-modules@google.com>
Closing PR as stale (fyi @SarahFrench in case this is something we want to reraise) |
It looks like the docs contain info about how to handle creds in TFC/TFE and there are instructions about needing to remove newlines:
|
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Updated to describe use of credentials in Terraform Cloud|Enterprise Workspaces.