upgrade v.0.12.0: upgraded examples #29
Merged
+150
−84
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Regarding the StackDriver example:
As soon as all documented setup steps were applied
and terraform apply command was executed, the error below was returned:
export TF_VAR_service_account_email="please-delete-me1@project1-243507.iam.gserviceaccount.com" && export TF_VAR_project="project1-243507"
Error: project: required field is not set
on main.tf line 17, in resource "google_project_iam_member" "monitoring-log_writer":
17: resource "google_project_iam_member" "monitoring-log_writer" {
project mandatory variable is missing...
setup of this variable via the environment also failed (see the example below):
export TF_VAR_project="project1-243507"
After the 2-nd attempt the variables.tf file was extended and project variable
was added to it and to the main.tf file, which allowed to get rid of the error above.
Regarding the Organization:
I don't have permission to create organizations, I was able to check
this example only till the
terraform apply
step