Difference between revisions of "Terraform AWS data sources"

From wikieduonline
Jump to navigation Jump to search
Line 23: Line 23:
  
 
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/vpc
 
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/vpc
  data "[[aws_vpc]]" "selected" {
+
  [[data]] "[[aws_vpc]]" "selected" {
 
   id = var.[[my_vpc_id]]
 
   id = var.[[my_vpc_id]]
 
  }
 
  }
Line 30: Line 30:
 
   template = [[aws_iam_access_key]].my_new_user.encrypted_secret
 
   template = [[aws_iam_access_key]].my_new_user.encrypted_secret
 
  }
 
  }
 
  
 
== Related terms ==
 
== Related terms ==

Revision as of 13:52, 31 January 2023

Advertising: