Question: Make sure the solution contains the keyword _ _ define - ocg _ _ in at least one comment in the code, and
Make sure the solution contains the keyword defineocg in at least one comment in the code, and make sure at least one of the variable is named "varOcg". You are provided a main.tf file which is a partially written Terraform configuration file. Your goal is to modify this file so that you can start an EC instance on AWS. Add the following environment variables using export in the bash file: AWSACCESSKEYID HITNAKIAZRYROKPKIKE AWSSECRETACCESSKEY fAHzqpqLTgaRaZjNdLTUnsRUkD In the Terraform file, add the source "hashicorpaws to the aws requiredproviders with version ~ Then set the region to uswest for the "aws" provider. Create a resource with the type "awsinstance" and the name "appserver". For the resource, set in
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
