Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 1.01 KB

File metadata and controls

5 lines (4 loc) · 1.01 KB

Step 7 : Providing values for Variables

  1. Till now, we only used variables without hardcoding any values to resources.
  2. Create two new files with name variables.tf for declaring variables and terrafrom.vars.tf for assigning values to variables declared, Copy the variables.tf for declaring variables and terraform.tfvars file from my repository . Don't forget to customize terraform.tfvars according to your requirements.
  3. Now , additionally create a new file with name secret.tfvars for providing values for DB useranme and DB password like this file