Provisioners in Terraform Explained |Terraform Provisioner block : File, Local exec and Remote exec

preview_player
Показать описание
Terraform Provisioner Block Tutorial for Devops beginners : This video explains the different provisioners provided by Terraform the Infrastructure as a code tool. Provisioners can be used to model specific actions on the local machine or on a remote machine in order to prepare servers or other infrastructure objects for service.
Provisioner in Terraform are of 3 different types - File Provisioner, Local-exec provisioner and Remote-exec provisioner.
In this video tutorial I will explain all the different provisioners with example and code snippet. So watch and Learn Terraform with cloudchamp !

Topics Covered:
1. What are Provisioners in Terraform? 0:00 - 0:20
2. Why are Provisioners used? (use cases) 0:20 - 0:40
3. Types of Provisioners in Terraform 0:50 - 1:20
4. Connection Block in Terraform Provisioner 1:21 - 3:03
5. File Provisioner with example 3:05 - 5:43
6. Local-exec Provisioner with example 5:45 - 7:21
7. Local-exec Provisioner with example 7:25 - 10:00
8. Summary 10:00 - 10:15

terraform provisioner,provisioner,file provisioner,local-exec provisioner,provisioners,remote-exec provisioner,terraform,local-exec in terraform,remote-exec in terraform,file provisioner in terraform,provisioner block terraform,provisioner in terraform,provisioner connection terraform,terraform file provisioner example,terraform null resource,terraform tutorial,terraform provisioner block,terraform infrastructure provisioning,terraform provisioner example,devops, terraform provisioner,provisioner,file provisioner,local-exec provisioner,provisioners,remote-exec provisioner,terraform,local-exec in terraform,remote-exec in terraform,file provisioner in terraform,provisioner block terraform,provisioner in terraform,provisioner connection terraform,terraform file provisioner example,terraform null resource,terraform tutorial,terraform provisioner block,terraform infrastructure provisioning,terraform provisioner example,devops, terraform provisioner,provisioner,file provisioner,local-exec provisioner,provisioners,remote-exec provisioner,terraform,local-exec in terraform,remote-exec in terraform,file provisioner in terraform,provisioner block terraform,provisioner in terraform,provisioner connection terraform,terraform file provisioner example,terraform null resource,terraform tutorial,terraform provisioner block,terraform infrastructure provisioning,terraform provisioner example,devops, terraform provisioner,provisioner,file provisioner,local-exec provisioner,provisioners,remote-exec provisioner,terraform,local-exec in terraform,remote-exec in terraform,file provisioner in terraform,provisioner block terraform,provisioner in terraform,provisioner connection terraform,terraform file provisioner example,terraform null resource,terraform tutorial,terraform provisioner block,terraform infrastructure provisioning,terraform provisioner example,devops, terraform provisioner,provisioner,file provisioner,local-exec provisioner,provisioners,remote-exec provisioner,terraform,local-exec in terraform,remote-exec in terraform,file provisioner in terraform,provisioner block terraform,provisioner in terraform,provisioner connection terraform,terraform file provisioner example,terraform null resource,terraform tutorial,terraform provisioner block,terraform infrastructure provisioning,terraform provisioner example,devops,terraform provisioner,provisioner,file provisioner,local-exec provisioner,provisioners,remote-exec provisioner,terraform,local-exec in terraform,remote-exec in terraform,file provisioner in terraform,provisioner block terraform,provisioner in terraform,provisioner connection terraform,terraform file provisioner example,terraform null resource,terraform tutorial,terraform provisioner block,terraform infrastructure provisioning,terraform provisioner example,devops,terraform provisioner,provisioner,file provisioner,local-exec provisioner,provisioners,remote-exec provisioner,terraform,local-exec in terraform,remote-exec in terraform example,devops,terraform provisioner,provisioner,file provisioner,local-exec provisioner,provisioners,remote-exec provisioner,terraform,local-exec in terraform,remote-exec in terraform,file provisioner in terraform,provisioner block terraform,provisioner in terraform,provisioner connection terraform,terraform file provisioner example,terraform null resource,terraform tutorial,terraform provisioner block

Terraform Provisioner Tutorial with example
Рекомендации по теме
Комментарии
Автор

│ Error: file provisioner error

│ with module.ec2_instance.aws_instance.instance_1,
│ on modules\ec2_instance\main.tf line 61, in resource "aws_instance" "instance_1":
│ 61: provisioner "file" {

│ host for provisioner cannot be empty

how to solve this problem, any idea

nidhisarupria
Автор

Can't you use file provisioners to move the ansible hosts, playbook and config files to the ec2 instance?

dhebbygodspride