Skip to content
Merged
2 changes: 1 addition & 1 deletion google_bigquery_syndicated_dataset/.terraform-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ content: |-

```hcl
module "treeherder" {
source = "github.com/mozilla/terraform-modules//google_bigquery_syndicated_dataset?ref=main"
source = "github.com/mozilla/terraform-modules//google_bigquery_syndicated_dataset?ref=google_bigquery_syndicated_dataset-1.3.1"

dataset_id = "for_treeherder_1"
syndicated_dataset_id = "treeherder_db"
Expand Down
4 changes: 2 additions & 2 deletions google_bigquery_syndicated_dataset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ detection automation will make these manual steps unnecessary.

```hcl
module "treeherder" {
source = "github.com/mozilla/terraform-modules//google_bigquery_syndicated_dataset?ref=main"
source = "github.com/mozilla/terraform-modules//google_bigquery_syndicated_dataset?ref=google_bigquery_syndicated_dataset-1.3.1"

dataset_id = "for_treeherder_1"
syndicated_dataset_id = "treeherder_db"
Expand Down Expand Up @@ -62,7 +62,7 @@ module "treeherder" {

| Name | Source | Version |
|------|--------|---------|
| <a name="module_syndication_workgroup"></a> [syndication\_workgroup](#module\_syndication\_workgroup) | github.com/mozilla/terraform-modules//mozilla_workgroup | main |
| <a name="module_syndication_workgroup"></a> [syndication\_workgroup](#module\_syndication\_workgroup) | github.com/mozilla/terraform-modules//mozilla_workgroup | mozilla_workgroup-1.3.0 |

## Resources

Expand Down
2 changes: 1 addition & 1 deletion google_bigquery_syndicated_dataset/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ data "terraform_remote_state" "org" {
# Service accounts that perform syndication
# Currently Jenkins with plans to move to Airflow, see https://mozilla-hub.atlassian.net/browse/SVCSE-3005
module "syndication_workgroup" {
source = "github.com/mozilla/terraform-modules//mozilla_workgroup?ref=main"
source = "github.com/mozilla/terraform-modules//mozilla_workgroup?ref=mozilla_workgroup-1.3.0"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this reference the local path instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For modules that aren't tightly coupled (like the aws_gke_oidc_*s) I think it makes more sense to pin - that way breaking changes can be made to mozilla_workgroup without having to think about bigquery datasets

ids = var.syndication_workgroup_ids
}

Expand Down
2 changes: 1 addition & 1 deletion google_datastream/examples/postgres_to_bq.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "datastream" {
source = "github.com/mozilla/terraform-modules//google_datastream?ref=main"
source = "github.com/mozilla/terraform-modules//google_datastream?ref=google_datastream-0.3.0"

application = var.application
environment = var.environment
Expand Down
2 changes: 1 addition & 1 deletion google_gar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Creates a GAR repository and a service account to access it.

```hcl
module "gar" {
source = "github.com/mozilla/terraform-modules//google_gar?ref=main"
source = "github.com/mozilla/terraform-modules//google_gar?ref=google_gar-0.4.0"

description = "Default repository for test project"
application = "glonk"
Expand Down
2 changes: 1 addition & 1 deletion google_gar/examples/example.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "gar" {
source = "github.com/mozilla/terraform-modules//google_gar?ref=main"
source = "github.com/mozilla/terraform-modules//google_gar?ref=google_gar-0.4.0"

description = "Default repository for test project"
application = "glonk"
Expand Down
6 changes: 3 additions & 3 deletions google_gke/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ data "terraform_remote_state" "vpc" {
}

module "gke" {
source = "github.com/mozilla/terraform-modules//google_gke?ref=main"
source = "github.com/mozilla/terraform-modules//google_gke?ref=google_gke-0.11.0"

name = "my-cluster"
project_id = "shared-clusters"
Expand Down Expand Up @@ -284,7 +284,7 @@ data "terraform_remote_state" "vpc" {
}

module "gke" {
source = "github.com/mozilla/terraform-modules//google_gke?ref=main"
source = "github.com/mozilla/terraform-modules//google_gke?ref=google_gke-0.11.0"

name = "my-cluster"
project_id = "shared-clusters"
Expand Down Expand Up @@ -328,7 +328,7 @@ data "terraform_remote_state" "vpc" {
}

module "gke" {
source = "github.com/mozilla/terraform-modules//google_gke?ref=main"
source = "github.com/mozilla/terraform-modules//google_gke?ref=google_gke-0.11.0"

name = "my-cluster"
project_id = "shared-clusters"
Expand Down
2 changes: 1 addition & 1 deletion google_gke/examples/complex1.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ data "terraform_remote_state" "vpc" {
}

module "gke" {
source = "github.com/mozilla/terraform-modules//google_gke?ref=main"
source = "github.com/mozilla/terraform-modules//google_gke?ref=google_gke-0.11.0"

name = "my-cluster"
project_id = "shared-clusters"
Expand Down
2 changes: 1 addition & 1 deletion google_gke/examples/complex2.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ data "terraform_remote_state" "vpc" {
}

module "gke" {
source = "github.com/mozilla/terraform-modules//google_gke?ref=main"
source = "github.com/mozilla/terraform-modules//google_gke?ref=google_gke-0.11.0"

name = "my-cluster"
project_id = "shared-clusters"
Expand Down
2 changes: 1 addition & 1 deletion google_gke/examples/simple.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ data "terraform_remote_state" "vpc" {
}

module "gke" {
source = "github.com/mozilla/terraform-modules//google_gke?ref=main"
source = "github.com/mozilla/terraform-modules//google_gke?ref=google_gke-0.11.0"

name = "my-cluster"
project_id = "shared-clusters"
Expand Down
2 changes: 1 addition & 1 deletion google_gke_namespace_logging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The log routing configuration happens as part of the GKE tenant bootstrapping.
## Example
```hcl
module "gke_logging" {
source = "github.com/mozilla/terraform-modules//google_gke_namespace_logging?ref=main"
source = "github.com/mozilla/terraform-modules//google_gke_namespace_logging?ref=google_gke_namespace_logging-1.3.0"

application = "glonk"
realm = "dev"
Expand Down
2 changes: 1 addition & 1 deletion google_gke_namespace_logging/examples/example1.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "gke_logging" {
source = "github.com/mozilla/terraform-modules//google_gke_namespace_logging?ref=main"
source = "github.com/mozilla/terraform-modules//google_gke_namespace_logging?ref=google_gke_namespace_logging-1.3.0"

application = "glonk"
realm = "dev"
Expand Down
2 changes: 1 addition & 1 deletion google_memcache/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ locals {
}

module "memcache" {
source = "github.com/mozilla/terraform-modules//google_memcache?ref=main"
source = "github.com/mozilla/terraform-modules//google_memcache?ref=google_memcache-0.3.0"

application = local.name
environment = "dev"
Expand Down
2 changes: 1 addition & 1 deletion google_memcache/examples/example1.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ locals {
}

module "memcache" {
source = "github.com/mozilla/terraform-modules//google_memcache?ref=main"
source = "github.com/mozilla/terraform-modules//google_memcache?ref=google_memcache-0.3.0"

application = local.name
environment = "dev"
Expand Down
2 changes: 1 addition & 1 deletion google_permissions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ For information on how to add new roles to the modules, please see [this documen

```hcl
module "permissions" {
source = "github.com/mozilla/terraform-modules//google_permissions?ref=main"
source = "github.com/mozilla/terraform-modules//google_permissions?ref=google_permissions-0.9.0"
// it is assumed that you loaded and have available a local.project
google_folder_id = local.project.folder.id
google_prod_project_id = local.project["prod"].id
Expand Down
4 changes: 2 additions & 2 deletions google_permissions/examples/basic/main.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module "permissions" {
source = "github.com/mozilla/terraform-modules//google_permissions?ref=main"
source = "github.com/mozilla/terraform-modules//google_permissions?ref=google_permissions-0.9.0"
// it is assumed that you loaded and have available a local.project
google_folder_id = local.project.folder.id
google_prod_project_id = local.project["prod"].id
google_nonprod_project_id = local.project["nonprod"].id
admin_ids = ["workgroup:my-project/workgroup_subgroup"]
developer_ids = ["workgroup:my-project/developers"]
viewer_ids = ["workgroup:my-project/viewers"]
}
}
6 changes: 3 additions & 3 deletions google_permissions/workgroups.tf
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
module "admins_workgroup" {
source = "github.com/mozilla/terraform-modules//mozilla_workgroup?ref=main"
source = "github.com/mozilla/terraform-modules//mozilla_workgroup?ref=mozilla_workgroup-1.3.0"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this reference the local path instead?

ids = var.admin_ids
}

module "developers_workgroup" {
source = "github.com/mozilla/terraform-modules//mozilla_workgroup?ref=main"
source = "github.com/mozilla/terraform-modules//mozilla_workgroup?ref=mozilla_workgroup-1.3.0"
ids = var.developer_ids
}

module "viewers_workgroup" {
source = "github.com/mozilla/terraform-modules//mozilla_workgroup?ref=main"
source = "github.com/mozilla/terraform-modules//mozilla_workgroup?ref=mozilla_workgroup-1.3.0"
ids = var.viewer_ids
}
2 changes: 1 addition & 1 deletion google_redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ locals {
}

module "redis" {
source = "github.com/mozilla/terraform-modules//google_redis?ref=main"
source = "github.com/mozilla/terraform-modules//google_redis?ref=google_redis-0.4.0"

application = local.name
environment = "dev"
Expand Down
2 changes: 1 addition & 1 deletion google_redis/examples/example1.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ locals {
}

module "redis" {
source = "github.com/mozilla/terraform-modules//google_redis?ref=main"
source = "github.com/mozilla/terraform-modules//google_redis?ref=google_redis-0.4.0"

application = local.name
environment = "dev"
Expand Down
4 changes: 2 additions & 2 deletions mozilla_access_event_consumer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ locals {

module "access_consumer" {
# Use the latest version of this module from https://github.com/mozilla/terraform-modules/tags
source = "github.com/mozilla/terraform-modules//mozilla_access_event_consumer?ref=main"
source = "github.com/mozilla/terraform-modules//mozilla_access_event_consumer?ref=mozilla_access_event_consumer-1.3.0"

project_id = local.project_id
application = local.application
Expand Down Expand Up @@ -163,7 +163,7 @@ Create a Pub/Sub subscription for pull-based processing from GKE:

module "access_consumer" {
# Use the latest version of this module from https://github.com/mozilla/terraform-modules/tags
source = "github.com/mozilla/terraform-modules//mozilla_access_event_consumer?ref=main"
source = "github.com/mozilla/terraform-modules//mozilla_access_event_consumer?ref=mozilla_access_event_consumer-1.3.0"

project_id = local.project_id
application = local.application
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ locals {

module "access_consumer" {
# Use the latest version of this module from https://github.com/mozilla/terraform-modules/tags
source = "github.com/mozilla/terraform-modules//mozilla_access_event_consumer?ref=main"
source = "github.com/mozilla/terraform-modules//mozilla_access_event_consumer?ref=mozilla_access_event_consumer-1.3.0"

project_id = local.project_id
application = local.application
Expand Down
2 changes: 1 addition & 1 deletion mozilla_access_event_consumer/examples/gke/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

module "access_consumer" {
# Use the latest version of this module from https://github.com/mozilla/terraform-modules/tags
source = "github.com/mozilla/terraform-modules//mozilla_access_event_consumer?ref=main"
source = "github.com/mozilla/terraform-modules//mozilla_access_event_consumer?ref=mozilla_access_event_consumer-1.3.0"

project_id = local.project_id
application = local.application
Expand Down
2 changes: 1 addition & 1 deletion mozilla_workgroup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This module is cloned from https://github.com/mozilla-services/cloudops-infra-te
## Example
```hcl
module "workgroup" {
source = "github.com/mozilla/terraform-modules//mozilla_workgroup?ref=main"
source = "github.com/mozilla/terraform-modules//mozilla_workgroup?ref=mozilla_workgroup-1.3.0"

ids = ["workgroup:app/admins"]
roles = {}
Expand Down
2 changes: 1 addition & 1 deletion mozilla_workgroup/examples/example1.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "workgroup" {
source = "github.com/mozilla/terraform-modules//mozilla_workgroup?ref=main"
source = "github.com/mozilla/terraform-modules//mozilla_workgroup?ref=mozilla_workgroup-1.3.0"

ids = ["workgroup:app/admins"]
roles = {}
Expand Down
2 changes: 1 addition & 1 deletion pagerduty_team/examples/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data "pagerduty_user" "team_users" {
}

module "pagerduty_team" {
source = "github.com/mozilla/terraform-modules//pagerduty_team?ref=main"
source = "github.com/mozilla/terraform-modules//pagerduty_team?ref=pagerduy_team-0.2.0"

team_name = "foo"

Expand Down
Loading