Skip to content

Commit

Permalink
Prepare release v4
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbuckley committed Nov 10, 2023
1 parent 6ef9d09 commit a73bba3
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ 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=v3"
source = "github.com/answerdigital/terraform-modules//modules/aws/ec2?ref=v4"
}
```

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=v3.0.0`) or to get the latest changes within a major version, use `?ref=v3` which will get the latest v3.x.x release.
Versions are shared across all modules. You can choose a specific tag (e.g. `?ref=v4.0.0`) or to get the latest changes within a major version, use `?ref=v4` which will get the latest v4.x.x release.

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion modules/aws/acme_certificate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ data "aws_route53_zone" "test_com" {
}
module "test_project_test_com" {
source = "github.com/answerdigital/terraform-modules//modules/aws/acme_certificate?ref=v3"
source = "github.com/answerdigital/terraform-modules//modules/aws/acme_certificate?ref=v4"
email_address = local.dns_email_address
aws_hosted_zone_id = data.aws_route53_zone.test_com.zone_id
base_domain_name = local.base_domain_name
Expand Down
4 changes: 2 additions & 2 deletions modules/aws/ec2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ locals {
}
module "vpc_subnet" {
source = "github.com/answerdigital/terraform-modules//modules/aws/vpc?ref=v3"
source = "github.com/answerdigital/terraform-modules//modules/aws/vpc?ref=v4"
owner = local.owner
project_name = local.project
enable_vpc_flow_logs = true
Expand Down Expand Up @@ -97,7 +97,7 @@ data "aws_availability_zones" "available" {
}
module "ec2_instance_setup" {
source = "github.com/answerdigital/terraform-modules//modules/aws/ec2?ref=v3"
source = "github.com/answerdigital/terraform-modules//modules/aws/ec2?ref=v4"
project_name = local.project
owner = local.owner
ami_id = data.aws_ami.ec2_ami.id
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/rds_serverless_cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Below is an example of how you would call the `rds_serverless_cluster` module in

```hcl
module "rds_cluster_setup" {
source = "github.com/answerdigital/terraform-modules//modules/aws/rds_serverless_cluster?ref=v3"
source = "github.com/answerdigital/terraform-modules//modules/aws/rds_serverless_cluster?ref=v4"
project_name = var.project_name
owner = var.owner
database_availability_zone = module.vpc_subnet_setup.az_zones[0]
Expand Down
4 changes: 2 additions & 2 deletions modules/aws/route53/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Below is a simple example for an example.com zone with a single subdomain record

```terraform
module "example_com" {
source = "github.com/answerdigital/terraform-modules//modules/aws/route53?ref=v3"
source = "github.com/answerdigital/terraform-modules//modules/aws/route53?ref=v4"
domain = "example.com"
records = {
Expand All @@ -92,7 +92,7 @@ the bare domain and www subdomain to the canonical domain.

```terraform
module "example_com" {
source = "github.com/answerdigital/terraform-modules//modules/aws/route53?ref=v3"
source = "github.com/answerdigital/terraform-modules//modules/aws/route53?ref=v4"
domain = "example.com"
aliases = [
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/sso_account_assignment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ resource "aws_organizations_organization" "example" {
}
module "iam_example" {
source = "github.com/answerdigital/terraform-modules//modules/aws/sso_account_assignment?ref=v3"
source = "github.com/answerdigital/terraform-modules//modules/aws/sso_account_assignment?ref=v4"
permission_sets = {
AdministratorAccess = {
Expand Down
4 changes: 2 additions & 2 deletions modules/aws/vpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ and `eu-west-3` respectively.

```hcl
module "vpc_subnet" {
source = "github.com/answerdigital/terraform-modules//modules/aws/vpc?ref=v3"
source = "github.com/answerdigital/terraform-modules//modules/aws/vpc?ref=v4"
owner = "joe_blogs"
project_name = "example_project_name"
enable_vpc_flow_logs = true
}
module "vpc_subnet" {
source = "github.com/answerdigital/terraform-modules//modules/aws/vpc?ref=v3"
source = "github.com/answerdigital/terraform-modules//modules/aws/vpc?ref=v4"
owner = "joe_blogs"
project_name = "example_project_name"
azs = ["eu-west-1", "eu-west-3"]
Expand Down

0 comments on commit a73bba3

Please sign in to comment.