Migrate infrastructure to Terraform with Config-driven Import

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 7

  • @tobyseah2607
    @tobyseah2607 Рік тому

    Very clear presentation. Thank you!

  • @JoséLacerda-o5m
    @JoséLacerda-o5m 10 місяців тому +6

    I was having problems with this command:
    $ terraform plan -generate-config-out=generated.tf
    "Error: Too many command line arguments"
    to fix it, I had to quote generated.tf:
    $ terraform plan -generate-config-out="generated.tf"

    • @OhhHeMad
      @OhhHeMad 7 місяців тому

      Thanks for also coming back to show what you did wrong!

  • @Mandalorx10
    @Mandalorx10 Рік тому

    That was a great overview!

  • @citizenearth3324
    @citizenearth3324 Рік тому

    Love this , thanks

  • @ashwindhaka5433
    @ashwindhaka5433 6 місяців тому

    Can I used same terraform state file to create resources in different regions. Pl answer Thanks in advance. 🙏

    • @HashiCorp
      @HashiCorp  6 місяців тому

      Hi there and thanks for reaching out! Terraform state files map real world resources to your Terraform configuration (developer.hashicorp.com/terraform/language/state). To create resources in different regions, you use modules and pass providers explicitly to the child module (developer.hashicorp.com/terraform/language/modules/develop/providers#passing-providers-explicitly)