I’m working through this tutorial and managed to set everything up ok.
On queuing the plan i get the following errors back relating to variables and unable to get to the bottom of it.
Terraform v0.13.0
Configuring remote state backend...
Initializing Terraform configuration...
e[33m
e[1me[33mWarning: e[0me[0me[1mValue for undeclared variablee[0m
e[0mThe root module does not declare a variable named "tag_user_name" but a value
was found in file "/terraform/terraform.tfvars". To use this value, add a
"variable" block to the configuration.
Using a variables file to set an undeclared variable is deprecated and will
become an error in a future release. If you wish to provide certain "global"
settings to all configurations in your organization, use TF_VAR_...
environment variables to set these instead.
e[0me[0m
e[31m
e[1me[31mError: e[0me[0me[1mNo value for required variablee[0m
e[0m on variables.tf line 6:
6: e[4mvariable "aws_access_key_id"e[0m {
e[0m
The root module input variable "aws_access_key_id" is not set, and has no
default value. Use a -var or -var-file command line argument to provide a
value for this variable.
e[0me[0m
e[31m
e[1me[31mError: e[0me[0me[1mNo value for required variablee[0m
e[0m on variables.tf line 10:
10: e[4mvariable "aws_secret_access_key"e[0m {
e[0m
The root module input variable "aws_secret_access_key" is not set, and has no
default value. Use a -var or -var-file command line argument to provide a
value for this variable.
e[0me[0m
Anyone any ideas on how to move forward with this? Thanks
Was hoping this was going to be a nice easy one to get up and running!