-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Standardised documentation for all modules
- Loading branch information
Showing
4 changed files
with
26 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,22 @@ | ||
# terraform-modules | ||
The repo for AnswerDigital Terraform modules | ||
|
||
The repo for Answer Digital shared Terraform modules. | ||
|
||
## Using these modules | ||
|
||
You can use these modules in your own terraform projects as follows: | ||
|
||
```hcl | ||
module "ec2_setup" { | ||
source = "github.com/answerdigital/terraform-modules//modules/aws/ec2?ref=v2" | ||
} | ||
``` | ||
|
||
Notice the double `//` between the repository URL and the path to the module. | ||
For further information please see the [terraform documentation](https://developer.hashicorp.com/terraform/language/modules/sources#modules-in-package-sub-directories). | ||
|
||
Versions are shared across all modules. You can choose a specific tag (e.g. `?ref=v2.0.0`) or to get the latest changes within a major version, use `?ref=v2` which will get the latest v2.x.x release. | ||
|
||
## Documentation | ||
|
||
Further documentation can be found in the [wiki](https://github.com/answerdigital/terraform-modules/wiki). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters