aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..0296b4d
--- /dev/null
+++ b/README.md
@@ -0,0 +1,29 @@
+infra-terraform
+===============
+
+Some common Terraform modules used by me to manage things.
+
+Usage
+-----
+
+An example for the digitalocean/domain module:
+
+```
+module "domain" {
+ source = "github.com/egor-tensin/infra-terraform//digitalocean/domain?ref=v1.0.0"
+
+ name = "example.com"
+ ip_address = digitalocean_floating_ip.server.ip_address
+ project_id = digitalocean_project.this.id
+
+ aliases = ["sub1", "sub2"]
+}
+```
+
+License
+-------
+
+Distributed under the MIT License.
+See [LICENSE.txt] for details.
+
+[LICENSE.txt]: LICENSE.txt