Skip to content

Commit

Permalink
Update all AWS modules with TF version and rebranding
Browse files Browse the repository at this point in the history
  • Loading branch information
canderson1 committed Jul 26, 2024
1 parent 19bb4c4 commit 371c117
Show file tree
Hide file tree
Showing 45 changed files with 67 additions and 53 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
- id: detect-private-key
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/gofrontier-com/pre-commit-hooks
- repo: https://github.com/frontierhq/pre-commit-hooks
rev: v0.0.1
hooks:
- id: pipenv-verify
Expand Down
2 changes: 1 addition & 1 deletion .tfswitchrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.5
1.9.3
18 changes: 9 additions & 9 deletions README.rst.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{#- README.rst -#}

.. image:: https://github.com/gofrontier-com/aws-terraform-modules/actions/workflows/ci.yml/badge.svg
:target: https://github.com/gofrontier-com/aws-terraform-modules/actions/workflows/ci.yml
.. image:: https://github.com/frontierhq/aws-terraform-modules/actions/workflows/ci.yml/badge.svg
:target: https://github.com/frontierhq/aws-terraform-modules/actions/workflows/ci.yml

=========================
aws-terraform-modules
Expand All @@ -26,22 +26,22 @@ Usage
-----

This repository maintains independent `semver <https://semver.org/>`_ versioning for each module,
and produces module-specific `releases <https://github.com/gofrontier-com/aws-terraform-modules/releases>`_.
and produces module-specific `releases <https://github.com/frontierhq/aws-terraform-modules/releases>`_.
This approach enables modules to be consumed independently of one another, and without the need for
Terraform to clone the entire repository.

To use a module, add a `module block <https://www.terraform.io/docs/language/modules/syntax.html>`_
and specify the source as a `module archive <https://developer.hashicorp.com/terraform/language/modules/sources#fetching-archives-over-http>`_
URL. The URL should be in the format:

``https://github.com/gofrontier-com/aws-terraform-modules/releases/download/[module-name]/[version]/module.tar.gz//src``
``https://github.com/frontierhq/aws-terraform-modules/releases/download/[module-name]/[version]/module.tar.gz//src``

For example:

.. code:: hcl

module "vpc" {
source = "https://github.com/gofrontier-com/aws-terraform-modules/releases/download/vpc/1.0.0/module.tar.gz//src"
source = "https://github.com/frontierhq/aws-terraform-modules/releases/download/vpc/1.0.0/module.tar.gz//src"

environment = "dev"
identifier = "k8s"
Expand Down Expand Up @@ -69,13 +69,13 @@ Modules
- Latest version
- Source URL
{%- for module in modules %}
* - `{{ module.name }} <https://github.com/gofrontier-com/aws-terraform-modules/tree/main/modules/{{ module.name }}>`__
- `{{ module.version }} <https://github.com/gofrontier-com/aws-terraform-modules/releases/tag/{{ module.name }}%2F{{ module.version }}>`__
- ``https://github.com/gofrontier-com/aws-terraform-modules/releases/download/{{ module.name }}/{{ module.version }}/module.tar.gz//src``
* - `{{ module.name }} <https://github.com/frontierhq/aws-terraform-modules/tree/main/modules/{{ module.name }}>`__
- `{{ module.version }} <https://github.com/frontierhq/aws-terraform-modules/releases/tag/{{ module.name }}%2F{{ module.version }}>`__
- ``https://github.com/frontierhq/aws-terraform-modules/releases/download/{{ module.name }}/{{ module.version }}/module.tar.gz//src``
{%- endfor %}

------------
Contributing
------------

We welcome contributions to this repository. Please see `CONTRIBUTING.md <https://github.com/gofrontier-com/aws-terraform-modules/tree/main/CONTRIBUTING.md>`_ for more information.
We welcome contributions to this repository. Please see `CONTRIBUTING.md <https://github.com/frontierhq/aws-terraform-modules/tree/main/CONTRIBUTING.md>`_ for more information.
1 change: 1 addition & 0 deletions modules/app-autoscaling-policy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Changelog
TF version update to 1.9.3
4 changes: 2 additions & 2 deletions modules/app-autoscaling-policy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This module creates an [App Autoscaling Policy](https://registry.terraform.io/pr

```hcl
module "db_instance" {
source = "https://github.com/gofrontier-com/aws-terraform-modules/releases/download/app-autoscaling-policy/[VERSION]/module.tar.gz//src"
source = "https://github.com/frontierhq/aws-terraform-modules/releases/download/app-autoscaling-policy/[VERSION]/module.tar.gz//src"
environment = var.environment
identifier = var.identifier
Expand All @@ -29,4 +29,4 @@ module "db_instance" {

## Contributing

See <https://github.com/gofrontier-com/aws-terraform-modules/blob/main/README.rst#contributing>.
See <https://github.com/frontierhq/aws-terraform-modules/blob/main/README.rst#contributing>.
2 changes: 1 addition & 1 deletion modules/app-autoscaling-policy/test/terraform.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.5"
required_version = "~> 1.9"

required_providers {
aws = {
Expand Down
1 change: 1 addition & 0 deletions modules/app-autoscaling-target/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Changelog
TF version update to 1.9.3
4 changes: 2 additions & 2 deletions modules/app-autoscaling-target/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This module creates an [App Autoscaling Target](https://registry.terraform.io/pr

```hcl
module "app_autoscaling_target" {
source = "https://github.com/gofrontier-com/aws-terraform-modules/releases/download/app-autoscaling-target/[VERSION]/module.tar.gz//src"
source = "https://github.com/frontierhq/aws-terraform-modules/releases/download/app-autoscaling-target/[VERSION]/module.tar.gz//src"
environment = var.environment
identifier = var.identifier
Expand All @@ -29,4 +29,4 @@ module "app_autoscaling_target" {

## Contributing

See <https://github.com/gofrontier-com/aws-terraform-modules/blob/main/README.rst#contributing>.
See <https://github.com/frontierhq/aws-terraform-modules/blob/main/README.rst#contributing>.
2 changes: 1 addition & 1 deletion modules/app-autoscaling-target/test/terraform.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.5"
required_version = "~> 1.9"

required_providers {
aws = {
Expand Down
1 change: 1 addition & 0 deletions modules/db-instance/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Changelog
TF version update to 1.9.3
4 changes: 2 additions & 2 deletions modules/db-instance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This module creates a [DB Instance](https://registry.terraform.io/providers/hash

```hcl
module "db_instance" {
source = "https://github.com/gofrontier-com/aws-terraform-modules/releases/download/db-instance/[VERSION]/module.tar.gz//src"
source = "https://github.com/frontierhq/aws-terraform-modules/releases/download/db-instance/[VERSION]/module.tar.gz//src"
environment = var.environment
identifier = var.identifier
Expand All @@ -30,4 +30,4 @@ module "db_instance" {

## Contributing

See <https://github.com/gofrontier-com/aws-terraform-modules/blob/main/README.rst#contributing>.
See <https://github.com/frontierhq/aws-terraform-modules/blob/main/README.rst#contributing>.
2 changes: 1 addition & 1 deletion modules/db-instance/test/terraform.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.5"
required_version = "~> 1.9"

required_providers {
aws = {
Expand Down
1 change: 1 addition & 0 deletions modules/db-parameter-group/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Changelog
TF version update to 1.9.3
4 changes: 2 additions & 2 deletions modules/db-parameter-group/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This module creates a [db parameter group](https://registry.terraform.io/provide

```hcl
module "db_instance" {
source = "https://github.com/gofrontier-com/aws-terraform-modules/releases/download/db-parameter-group/[VERSION]/module.tar.gz//src"
source = "https://github.com/frontierhq/aws-terraform-modules/releases/download/db-parameter-group/[VERSION]/module.tar.gz//src"
environment = var.environment
identifier = var.identifier
Expand Down Expand Up @@ -34,4 +34,4 @@ module "db_instance" {

## Contributing

See <https://github.com/gofrontier-com/aws-terraform-modules/blob/main/README.rst#contributing>.
See <https://github.com/frontierhq/aws-terraform-modules/blob/main/README.rst#contributing>.
2 changes: 1 addition & 1 deletion modules/db-parameter-group/test/terraform.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.5"
required_version = "~> 1.9"

required_providers {
aws = {
Expand Down
1 change: 1 addition & 0 deletions modules/ec2-instance/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Changelog
TF version update to 1.9.3
4 changes: 2 additions & 2 deletions modules/ec2-instance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This module creates an [EC2 Instance](https://registry.terraform.io/providers/ha

```hcl
module "ec2_instance" {
source = "https://github.com/gofrontier-com/aws-terraform-modules/releases/download/ec2-instance/[VERSION]/module.tar.gz//src"
source = "https://github.com/frontierhq/aws-terraform-modules/releases/download/ec2-instance/[VERSION]/module.tar.gz//src"
environment = var.environment
identifier = var.identifier
Expand All @@ -28,4 +28,4 @@ module "ec2_instance" {

## Contributing

See <https://github.com/gofrontier-com/aws-terraform-modules/blob/main/README.rst#contributing>.
See <https://github.com/frontierhq/aws-terraform-modules/blob/main/README.rst#contributing>.
2 changes: 1 addition & 1 deletion modules/ec2-instance/test/terraform.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.5"
required_version = "~> 1.9"

required_providers {
aws = {
Expand Down
1 change: 1 addition & 0 deletions modules/ecr-repository/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Changelog
TF version update to 1.9.3
4 changes: 2 additions & 2 deletions modules/ecr-repository/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This module creates an [ECR Repository](https://registry.terraform.io/providers/

```hcl
module "ecr_repository" {
source = "https://github.com/gofrontier-com/aws-terraform-modules/releases/download/ecr-repository/[VERSION]/module.tar.gz//src"
source = "https://github.com/frontierhq/aws-terraform-modules/releases/download/ecr-repository/[VERSION]/module.tar.gz//src"
environment = var.environment
identifier = var.identifier
Expand All @@ -23,4 +23,4 @@ module "ecr_repository" {

## Contributing

See <https://github.com/gofrontier-com/aws-terraform-modules/blob/main/README.rst#contributing>.
See <https://github.com/frontierhq/aws-terraform-modules/blob/main/README.rst#contributing>.
2 changes: 1 addition & 1 deletion modules/ecr-repository/test/terraform.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.5"
required_version = "~> 1.9"

required_providers {
aws = {
Expand Down
1 change: 1 addition & 0 deletions modules/ecs-service/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Changelog
TF version update to 1.9.3
4 changes: 2 additions & 2 deletions modules/ecs-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This module creates an [ECS Service](https://registry.terraform.io/providers/has

```hcl
module "ecs_service" {
source = "https://github.com/gofrontier-com/aws-terraform-modules/releases/download/ecs-service/[VERSION]/module.tar.gz//src"
source = "https://github.com/frontierhq/aws-terraform-modules/releases/download/ecs-service/[VERSION]/module.tar.gz//src"
environment = var.environment
identifier = var.identifier
Expand All @@ -27,4 +27,4 @@ module "ecs_service" {

## Contributing

See <https://github.com/gofrontier-com/aws-terraform-modules/blob/main/README.rst#contributing>.
See <https://github.com/frontierhq/aws-terraform-modules/blob/main/README.rst#contributing>.
2 changes: 1 addition & 1 deletion modules/ecs-service/test/terraform.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.5"
required_version = "~> 1.9"

required_providers {
aws = {
Expand Down
1 change: 1 addition & 0 deletions modules/ecs-task-definition/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Changelog
TF version update to 1.9.3
4 changes: 2 additions & 2 deletions modules/ecs-task-definition/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This module creates an [ECS Task Definition](https://registry.terraform.io/provi

```hcl
module "ecs_task_definition" {
source = "https://github.com/gofrontier-com/aws-terraform-modules/releases/download/ecs-task-definition/[VERSION]/module.tar.gz//src"
source = "https://github.com/frontierhq/aws-terraform-modules/releases/download/ecs-task-definition/[VERSION]/module.tar.gz//src"
environment = var.environment
identifier = var.identifier
Expand Down Expand Up @@ -45,4 +45,4 @@ module "ecs_task_definition" {

## Contributing

See <https://github.com/gofrontier-com/aws-terraform-modules/blob/main/README.rst#contributing>.
See <https://github.com/frontierhq/aws-terraform-modules/blob/main/README.rst#contributing>.
2 changes: 1 addition & 1 deletion modules/ecs-task-definition/test/terraform.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.5"
required_version = "~> 1.9"

required_providers {
aws = {
Expand Down
1 change: 1 addition & 0 deletions modules/nat-gateway/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Changelog
TF version update to 1.9.3
4 changes: 2 additions & 2 deletions modules/nat-gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This module creates a [NAT Gateway](https://registry.terraform.io/providers/hash

```hcl
module "nat_gateway" {
source = "https://github.com/gofrontier-com/aws-terraform-modules/releases/download/nat-gateway/[VERSION]/module.tar.gz//src"
source = "https://github.com/frontierhq/aws-terraform-modules/releases/download/nat-gateway/[VERSION]/module.tar.gz//src"
environment = var.environment
identifier = var.identifier
Expand All @@ -26,4 +26,4 @@ module "nat_gateway" {

## Contributing

See <https://github.com/gofrontier-com/aws-terraform-modules/blob/main/README.rst#contributing>.
See <https://github.com/frontierhq/aws-terraform-modules/blob/main/README.rst#contributing>.
2 changes: 1 addition & 1 deletion modules/nat-gateway/test/terraform.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.5"
required_version = "~> 1.9"

required_providers {
aws = {
Expand Down
1 change: 1 addition & 0 deletions modules/security-group/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Changelog
TF version update to 1.9.3
4 changes: 2 additions & 2 deletions modules/security-group/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This module creates a [Security Group](https://registry.terraform.io/providers/h

```hcl
module "security_group" {
source = "https://github.com/gofrontier-com/aws-terraform-modules/releases/download/security_group/[VERSION]/module.tar.gz//src"
source = "https://github.com/frontierhq/aws-terraform-modules/releases/download/security_group/[VERSION]/module.tar.gz//src"
environment = var.environment
identifier = var.identifier
Expand Down Expand Up @@ -36,4 +36,4 @@ module "security_group" {

## Contributing

See <https://github.com/gofrontier-com/aws-terraform-modules/blob/main/README.rst#contributing>.
See <https://github.com/frontierhq/aws-terraform-modules/blob/main/README.rst#contributing>.
2 changes: 1 addition & 1 deletion modules/security-group/test/terraform.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.5"
required_version = "~> 1.9"

required_providers {
aws = {
Expand Down
1 change: 1 addition & 0 deletions modules/service-discovery-service/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Changelog
TF version update to 1.9.3
4 changes: 2 additions & 2 deletions modules/service-discovery-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This module creates a [Service Discovery Service](https://registry.terraform.io/

```hcl
module "service_discovery_service" {
source = "https://github.com/gofrontier-com/aws-terraform-modules/releases/download/service_discovery_service/[VERSION]/module.tar.gz//src"
source = "https://github.com/frontierhq/aws-terraform-modules/releases/download/service_discovery_service/[VERSION]/module.tar.gz//src"
name = "nginx"
namespace_id = aws_service_discovery_private_dns_namespace.main.id
Expand All @@ -21,4 +21,4 @@ module "service_discovery_service" {

## Contributing

See <https://github.com/gofrontier-com/aws-terraform-modules/blob/main/README.rst#contributing>.
See <https://github.com/frontierhq/aws-terraform-modules/blob/main/README.rst#contributing>.
2 changes: 1 addition & 1 deletion modules/service-discovery-service/test/terraform.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.5"
required_version = "~> 1.9"

required_providers {
aws = {
Expand Down
1 change: 1 addition & 0 deletions modules/subnet/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Changelog
TF version update to 1.9.3
4 changes: 2 additions & 2 deletions modules/subnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This module creates a [Subnet](https://registry.terraform.io/providers/hashicorp

```hcl
module "subnet" {
source = "https://github.com/gofrontier-com/aws-terraform-modules/releases/download/subnet/[VERSION]/module.tar.gz//src"
source = "https://github.com/frontierhq/aws-terraform-modules/releases/download/subnet/[VERSION]/module.tar.gz//src"
environment = var.environment
identifier = var.identifier
Expand All @@ -28,4 +28,4 @@ module "subnet" {

## Contributing

See <https://github.com/gofrontier-com/aws-terraform-modules/blob/main/README.rst#contributing>.
See <https://github.com/frontierhq/aws-terraform-modules/blob/main/README.rst#contributing>.
2 changes: 1 addition & 1 deletion modules/subnet/test/terraform.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.5"
required_version = "~> 1.9"

required_providers {
aws = {
Expand Down
1 change: 1 addition & 0 deletions modules/vpc-endpoint/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Changelog
TF version update to 1.9.3
4 changes: 2 additions & 2 deletions modules/vpc-endpoint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This module creates a [VPC Endpoint](https://registry.terraform.io/providers/has

```hcl
module "vpc_endpoint" {
source = "https://github.com/gofrontier-com/aws-terraform-modules/releases/download/vpc-endpoint/[VERSION]/module.tar.gz//src"
source = "https://github.com/frontierhq/aws-terraform-modules/releases/download/vpc-endpoint/[VERSION]/module.tar.gz//src"
environment = var.environment
identifier = var.identifier
Expand All @@ -27,4 +27,4 @@ module "vpc_endpoint" {

## Contributing

See <https://github.com/gofrontier-com/aws-terraform-modules/blob/main/README.rst#contributing>.
See <https://github.com/frontierhq/aws-terraform-modules/blob/main/README.rst#contributing>.
2 changes: 1 addition & 1 deletion modules/vpc-endpoint/test/terraform.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.5"
required_version = "~> 1.9"

required_providers {
aws = {
Expand Down
1 change: 1 addition & 0 deletions modules/vpc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Changelog
TF version update to 1.9.3
Loading

0 comments on commit 371c117

Please sign in to comment.