GoConqr has a new look! Let us know what you think.

Flashcards

10 Terraform import tainting and debug

Archimed Nemes Kodekloud Terraform basics Easy English 10 cards

Cards in this deck (10)

  1. 1Taint aws instance webserverterraform taint aws_instance.webserver
  2. 2Untaint aws_instance.webserverterraform untaint aws_instance.webserver
  3. 3Which are log levels?info
    warning
    error
    debug
    trace
  4. 4Set Terraform environment log variable to traceexport TF_LOG = TRACE
  5. 5Store log files in /tmp/terraform.logexport TF_LOG_PATH = /tmp/terraform.log
  6. 6Disable loggingunset TF_LOG_PATH
  7. 7What is terraform import syntaxterraform import .
  8. 8What should we do before terraform import and fo it for webserver-2 aws instance.add following block to main.tf
    resource "aws_instance" "webserver2" {
    #resource arguments
    }
  9. 9Import aws instance webserver 2terraform import aws_instance.webserver2
  10. 10What should we do after terraform importLook up attributes of instance either in management console or terraform state file and fill resource block

Information

Description
Easy Kodekloud Terraform basics Flashcards on 10 Terraform import tainting and debug, created by Archimed Nemes on 19/12/2022.
Created by
Archimed Nemes
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?