Difference between revisions of "Terraform: Hello world.tf"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 34: Line 34:
 
* [[Terraform, read files]]
 
* [[Terraform, read files]]
 
* [[main.tf]]
 
* [[main.tf]]
 +
* [[variables.tf]]
  
 
== See also ==
 
== See also ==

Revision as of 09:20, 10 July 2021


touch hello_world.tf
output "text" {
 value = "hello world"
}


terraform apply
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:

Terraform will perform the following actions:

Plan: 0 to add, 0 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes


Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

text = hello world

Related terms

See also

Advertising: