Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
frasdav committed Aug 5, 2024
1 parent 2a73b26 commit 8677008
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Download vertag
uses: robinraju/[email protected]
with:
repository: gofrontier-com/vertag
repository: ${{ github.repository_owner }}/vertag
latest: true
fileName: vertag_Linux_x86_64.tar.gz
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -38,6 +38,6 @@ jobs:
run: |
./vertag \
--author-name "Build bot" \
--author-email "build.bot@gofrontier.com" \
--author-email "build.bot@frontierhq.com" \
--modules-dir "modules" \
--remote-url "https://${BUILD_BOT_PAT}:[email protected]/gofrontier-com/azurerm-terraform-modules"
--remote-url "https://${BUILD_BOT_PAT}:[email protected]/${{ github.repository_owner }}/azurerm-terraform-modules"
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
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/azurerm-terraform-modules/actions/workflows/ci.yml/badge.svg
:target: https://github.com/gofrontier-com/azurerm-terraform-modules/actions/workflows/ci.yml
.. image:: https://github.com/frontierhq/azurerm-terraform-modules/actions/workflows/ci.yml/badge.svg
:target: https://github.com/frontierhq/azurerm-terraform-modules/actions/workflows/ci.yml

=========================
azurerm-terraform-modules
Expand All @@ -28,22 +28,22 @@ Usage
-----

This repository maintains independent `semver <https://semver.org/>`_ versioning for each module,
and produces module-specific `releases <https://github.com/gofrontier-com/azurerm-terraform-modules/releases>`_.
and produces module-specific `releases <https://github.com/frontierhq/azurerm-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/azurerm-terraform-modules/releases/download/[module-name]/[version]/module.tar.gz//src``
``https://github.com/frontierhq/azurerm-terraform-modules/releases/download/[module-name]/[version]/module.tar.gz//src``

For example:

.. code:: hcl

module "resource_group" {
source = "https://github.com/gofrontier-com/azurerm-terraform-modules/releases/download/resource-group/1.0.0/module.tar.gz//src"
source = "https://github.com/frontierhq/azurerm-terraform-modules/releases/download/resource-group/1.0.0/module.tar.gz//src"

environment = "dev"
identifier = "k8s"
Expand All @@ -69,13 +69,13 @@ Modules
- Latest version
- Source URL
{%- for module in modules %}
* - `{{ module.name }} <https://github.com/gofrontier-com/azurerm-terraform-modules/tree/main/modules/{{ module.name }}>`__
- `{{ module.version }} <https://github.com/gofrontier-com/azurerm-terraform-modules/releases/tag/{{ module.name }}%2F{{ module.version }}>`__
- ``https://github.com/gofrontier-com/azurerm-terraform-modules/releases/download/{{ module.name }}/{{ module.version }}/module.tar.gz//src``
* - `{{ module.name }} <https://github.com/frontierhq/azurerm-terraform-modules/tree/main/modules/{{ module.name }}>`__
- `{{ module.version }} <https://github.com/frontierhq/azurerm-terraform-modules/releases/tag/{{ module.name }}%2F{{ module.version }}>`__
- ``https://github.com/frontierhq/azurerm-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/azurerm-terraform-modules/tree/main/CONTRIBUTING.md>`_ for more information.
We welcome contributions to this repository. Please see `CONTRIBUTING.md <https://github.com/frontierhq/azurerm-terraform-modules/tree/main/CONTRIBUTING.md>`_ for more information.

0 comments on commit 8677008

Please sign in to comment.