Editing Terraform modules
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 2: | Line 2: | ||
Modules naming convention: <code>terraform-[[PROVIDER]]-NAME</code> | Modules naming convention: <code>terraform-[[PROVIDER]]-NAME</code> | ||
− | |||
− | + | == Modules == | |
− | + | https://registry.terraform.io/namespaces/terraform-aws-modules | |
− | + | * <code>module "[[Terraform module: vpc|vpc]]"</code>, <code>[[iam]]</code>, <code>[[aws_instance]]</code> | |
− | + | * <code>module "[[Terraform module: rds|rds]]"</code> | |
− | + | * <code>module "[[Terraform module: rds-aurora|rds-aurora]]"</code> | |
− | + | * <code>module "[[cdn]]"</code> ([[AWS CloudFront]]) | |
− | |||
− | * <code>[[ | ||
− | |||
− | |||
− | * <code>[[ | ||
− | * <code>[[ | ||
− | * <code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* <code>module "vm"</code> ([[Terraform Libvirt module]]: https://registry.terraform.io/modules/MonolithProjects/vm/libvirt/latest) | * <code>module "vm"</code> ([[Terraform Libvirt module]]: https://registry.terraform.io/modules/MonolithProjects/vm/libvirt/latest) | ||
+ | * <code>module [[s3-bucket]]</code> (https://registry.terraform.io/modules/terraform-aws-modules/s3-bucket/aws/latest) | ||
+ | * <code>module [[route53]]</code>: zones, record (https://registry.terraform.io/modules/terraform-aws-modules/route53/aws/latest) | ||
+ | * <code>module [[cicd (terraform module)|cicd]]</code> https://registry.terraform.io/modules/cloudposse/cicd/aws/latest | ||
+ | * <code>[[module eks]]</code> https://registry.terraform.io/modules/terraform-aws-modules/eks/aws/latest | ||
== Examples in [[main.tf]] == | == Examples in [[main.tf]] == | ||
Line 34: | Line 24: | ||
} | } | ||
− | module " | + | module "ec2_instance" { |
− | source = " | + | source = "terraform-aws-modules/ec2-instance/aws" |
[[version]] = "~> 3.0" | [[version]] = "~> 3.0" | ||
} | } | ||
− | + | == Related commands == | |
− | + | * <code>[[terraform init]]</code> | |
− | + | * <code>[[terraform init -upgrade]]</code> | |
− | + | * <code>[[terraform get]]</code> | |
− | + | * <code>[[terraform get -update]]</code> | |
− | * <code>[[ | ||
− | * <code>[[ | ||
== Related terms == | == Related terms == | ||
− | * [[Terraform modules: | + | * [[Terraform modules: source]] |
− | * [[ | + | * [[Terragrunt]] |
* [[Ansible modules]] | * [[Ansible modules]] | ||
* [[Terraform resources]] | * [[Terraform resources]] | ||
* [[Provider (Terraform)]]: <code>[[aws]]</code> | * [[Provider (Terraform)]]: <code>[[aws]]</code> | ||
+ | * <code>[[Error: Module not installed]]</code> | ||
* [[Terraform registry]]: https://registry.terraform.io/browse/modules | * [[Terraform registry]]: https://registry.terraform.io/browse/modules | ||
+ | * [[Terragrunt]] | ||
* [[AWS CloudFormation modules]] (Nov 2020) | * [[AWS CloudFormation modules]] (Nov 2020) | ||
* <code>[[?ref=]]XXXX</code> | * <code>[[?ref=]]XXXX</code> | ||
* [[Child modules]]: https://www.terraform.io/language/modules#child-modules | * [[Child modules]]: https://www.terraform.io/language/modules#child-modules | ||
* [[Still destroying]] | * [[Still destroying]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
+ | * {{terraform modules}} | ||
* {{terraform aws modules}} | * {{terraform aws modules}} | ||
− | * {{terraform | + | * {{terraform aws resources}} |
[[Category:Terraform]] | [[Category:Terraform]] |
Advertising: