Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Lab #6: Terraform Output Variables Example | Terraform Output Values | Terraform Outputs

  • DevOps Hint
  • 2021-08-10
  • 3037
Lab #6: Terraform Output Variables Example | Terraform Output Values | Terraform Outputs
terraform output valuesterraform output variablesterraform outputshow to use terraform outputhow to use terraform output variableshow to use terraform output as inputterraform tutorial for beginnersterraform tutorialhow toterraform variablesterraform variable
  • ok logo

Скачать Lab #6: Terraform Output Variables Example | Terraform Output Values | Terraform Outputs бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Lab #6: Terraform Output Variables Example | Terraform Output Values | Terraform Outputs или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Lab #6: Terraform Output Variables Example | Terraform Output Values | Terraform Outputs бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Lab #6: Terraform Output Variables Example | Terraform Output Values | Terraform Outputs

In this Video we are going to cover Terraform Output Variables Example | Terraform Output Values
#terraformoutputvariables #terraformoutputvalues #terraformtutorial


0:00 Introduction to Terraform output Values
6:25 How to use output.tf in Terraform
9:41 How to Stop printing sensitive value in terraform output


Follow below code for How to Terraform Output Values


Syntax of output variables/values:
output "output_value"{
value = "welcome to devopshint"
}
1. Without output.tf - main.tf
In this example we use only main.tf for print output values
Example of without output.tf
main.tf
provider "aws" {
region = "ap-south-1"
}
resource "aws_instance" "web" {
ami = "ami-0c1a7f89451184c8b"
instance_type = "t2.micro"
key_name = "Dev-UbuntuKey"
tags= {
Name = "terraform demo"
}
}
output "output_values"{
value = "welcome to devopshint"
description = "This is output values"
}
2. output.tf
In this example we can create output.tf file for printing public_dns
Example of output values/ variables with output.tf
main.tf
provider "aws" {
region = "ap-south-1"
}
resource "aws_instance" "web" {
ami = "ami-0c1a7f89451184c8b"
instance_type = "t2.micro"
key_name = "Dev-UbuntuKey"
tags= {
Name = "terraform demo"
}
}

output.tf
output "public_dns"{
value = aws_instance.web.public_dns
description = "this is output values"
}
3. Sensitive
In this example we can hide some sensitive data if user don’t want to show personal data to public in that time we can use sensitive = true
Example of sensitive values in terraform
main.tf
provider "aws" {
region = "ap-south-1"
}
resource "aws_instance" "web" {
ami = "ami-0c1a7f89451184c8b"
instance_type = "t2.micro"
key_name = "Dev-UbuntuKey"
tags= {
Name = "terraform demo"
}
}
output.tf
output "public_dns"{
value = aws_instance.web.public_dns
description = "this is output values"
sensitive = true
}


Related Articles:
How to Use Visual Studio code for Terraform | Creating EC2 Instance using Terraform
   • Lab #2: How to Use Visual Studio code for ...  




Lab #3 [Scenario-1]: How to Create VPC using Terraform | AWS VPC using Terraform | AWS Terraform
   • Lab #3 [Scenario-1]: How to Create VPC usi...  


If you likes our video, please subscribe our channel on YouTube Channel
   / devopshint  

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]