Editing Terraform modules: source
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 8: | Line 8: | ||
== Examples in [[main.tf]] == | == Examples in [[main.tf]] == | ||
− | [[Terraform | + | [[Terraform modules|module]] "[[consul]]" { |
source = "./path/to/you/module" | source = "./path/to/you/module" | ||
} | } | ||
Line 14: | Line 14: | ||
module "yourmodule" { | module "yourmodule" { | ||
source = "[[github.com]]/your-project/terraform-your-templates/modules/yourmodule" | source = "[[github.com]]/your-project/terraform-your-templates/modules/yourmodule" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 34: | Line 26: | ||
* [[S3 buckets]] | * [[S3 buckets]] | ||
* [[GCS]] buckets | * [[GCS]] buckets | ||
− | |||
− | |||
− | |||
== Related terms == | == Related terms == | ||
* <code>[[terraform init]]</code> | * <code>[[terraform init]]</code> | ||
− | * [[ | + | * [[Error: Module not found]]: Address could not be resolved |
− | |||
− | |||
== See also == | == See also == | ||
* {{Terraform modules}} | * {{Terraform modules}} | ||
+ | * {{Terraform}} | ||
− | [[Category: | + | [[Category:Iac]] |
Advertising: