Skip to content

Commit

Permalink
chore: rename vmseries -> swfw (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
migara authored Jan 16, 2024
1 parent 2e65bf1 commit 5abf92f
Show file tree
Hide file tree
Showing 57 changed files with 250 additions and 249 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @PaloAltoNetworks/gcp-vmseries-modules-codeowners
* @PaloAltoNetworks/gcp-swfw-modules-codeowners
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Bug Report
description: Create an issue to help us improve
title: '[Bug Report] <Short title of the bug>'
assignees: aws-vmseries-modules-codeowners
title: "[Bug Report] <Short title of the bug>"
assignees: gcp-swfw-modules-codeowners
body:
- type: textarea
attributes:
Expand All @@ -12,7 +12,7 @@ body:
- type: input
attributes:
label: Module Version
description: What is the module version in use (https://github.com/PaloAltoNetworks/terraform-google-vmseries-modules/releases)? Please include the commit hash if you're using an unreleased version.
description: What is the module version in use (https://github.com/PaloAltoNetworks/terraform-google-swfw-modules/releases)? Please include the commit hash if you're using an unreleased version.
placeholder: eg. v0.4.1
validations:
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Feature request
description: Suggest an idea for this project
# title: '[Enhancement] <Title>'
labels: enhancement
assignees: aws-vmseries-modules-codeowners
assignees: gcp-swfw-modules-codeowners
body:
- type: textarea
attributes:
Expand Down
11 changes: 5 additions & 6 deletions .github/actions/terratest/action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: 'Terratest'
description: 'Runs Terratest for a specified path.'
name: "Terratest"
description: "Runs Terratest for a specified path."
inputs:
tf_version:
description: 'TF version used.'
description: "TF version used."
required: true
path:
description: 'Path to Terraform module.'
description: "Path to Terraform module."
required: true
terratest_action:
description: The action (name of a test in Terratest) that will be passed to the Makefile's ACTION parameter
Expand All @@ -20,7 +20,6 @@ inputs:
runs:
using: "composite"
steps:

- name: setup Terraform
uses: hashicorp/setup-terraform@v2
with:
Expand All @@ -30,7 +29,7 @@ runs:
- name: setup Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: "1.20"

- name: login to GCP
uses: google-github-actions/auth@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/apply-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ on:
description: ID of the PR that triggered this workflow
type: string
required: true
pr-title:
pr-title:
description: Title of the PR that triggered this workflow
type: string
required: true
comment-id:
description: 'The comment-id of the slash command'
description: "The comment-id of the slash command"
type: string
required: true
branch:
Expand All @@ -40,7 +40,7 @@ jobs:
contents: read
pull-requests: write
id-token: write
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/[email protected]
uses: PaloAltoNetworks/terraform-modules-swfw-ci-workflows/.github/workflows/[email protected]
secrets: inherit
with:
cloud: gcp
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/idempotence-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ run-name: "On demand Idempotence test for PR - (#${{ github.event.inputs.pr-id }

permissions:
contents: read

concurrency: chatops-apply

on:
Expand All @@ -20,12 +20,12 @@ on:
description: ID of the PR that triggered this workflow
type: string
required: true
pr-title:
pr-title:
description: Title of the PR that triggered this workflow
type: string
required: true
comment-id:
description: 'The comment-id of the slash command'
description: "The comment-id of the slash command"
type: string
required: true
branch:
Expand All @@ -40,7 +40,7 @@ jobs:
contents: read
pull-requests: write
id-token: write
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/[email protected]
uses: PaloAltoNetworks/terraform-modules-swfw-ci-workflows/.github/workflows/[email protected]
secrets: inherit
with:
cloud: gcp
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint_pr_title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ on:
jobs:
lint_pr_title:
name: Lint PR
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/[email protected]
uses: PaloAltoNetworks/terraform-modules-swfw-ci-workflows/.github/workflows/[email protected]
6 changes: 3 additions & 3 deletions .github/workflows/plan-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ on:
description: ID of the PR that triggered this workflow
type: string
required: true
pr-title:
pr-title:
description: Title of the PR that triggered this workflow
type: string
required: true
comment-id:
description: 'The comment-id of the slash command'
description: "The comment-id of the slash command"
type: string
required: true
branch:
Expand All @@ -40,7 +40,7 @@ jobs:
contents: read
pull-requests: write
id-token: write
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/[email protected]
uses: PaloAltoNetworks/terraform-modules-swfw-ci-workflows/.github/workflows/[email protected]
secrets: inherit
with:
cloud: gcp
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ on:
- reopened
- synchronize
- ready_for_review
branches: ['main']
branches: ["main"]

jobs:
pr_ci_wrkflw:
name: Run CI
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/[email protected]
uses: PaloAltoNetworks/terraform-modules-swfw-ci-workflows/.github/workflows/[email protected]
if: github.actor != 'dependabot[bot]'
secrets: inherit
with:
Expand All @@ -27,4 +27,4 @@ jobs:
validate_max_parallel: 20
test_max_parallel: 10
fail_fast: false
terratest_action: Plan # keep in mind that this has to start with capital letter
terratest_action: Plan # keep in mind that this has to start with capital letter
10 changes: 5 additions & 5 deletions .github/workflows/pre-commit-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ permissions:
on:
workflow_dispatch:
schedule:
- cron: 0 1 1 * * # 1am of every 1st day of every month
- cron: 0 1 1 * * # 1am of every 1st day of every month

jobs:
update:
name: "Update Pre-Commit dependencies"
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/[email protected]
uses: PaloAltoNetworks/terraform-modules-swfw-ci-workflows/.github/workflows/[email protected]

pre-commit:
name: Run Pre-Commit with the udpated config
needs: [update]
if: needs.update.outputs.pr_operation == 'created' || needs.update.outputs.pr_operation == 'updated'
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/[email protected]
uses: PaloAltoNetworks/terraform-modules-swfw-ci-workflows/.github/workflows/[email protected]
with:
pre-commit-hooks: terraform_fmt terraform_docs terraform_tflint checkov
branch: pre-commit-dependencies-update
Expand All @@ -28,7 +28,7 @@ jobs:
name: Give comment on the PR if pre-commit failed
needs: [pre-commit, update]
if: always() && (needs.pre-commit.result == 'failure' || needs.pre-commit.result == 'success')
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/[email protected]
uses: PaloAltoNetworks/terraform-modules-swfw-ci-workflows/.github/workflows/[email protected]
with:
pr_number: ${{ needs.update.outputs.pr_number }}
job_result: ${{ needs.pre-commit.result }}
job_result: ${{ needs.pre-commit.result }}
7 changes: 3 additions & 4 deletions .github/workflows/release_ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Release CI
run-name: "Continous Release"


permissions:
contents: write
issues: read
Expand All @@ -10,18 +9,18 @@ permissions:
on:
workflow_dispatch:
schedule:
- cron: '0 1 * * 4' # this means every Thursday @1am UTC
- cron: "0 1 * * 4" # this means every Thursday @1am UTC

concurrency: release

jobs:
release_wrkflw:
name: Do release
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/[email protected]
uses: PaloAltoNetworks/terraform-modules-swfw-ci-workflows/.github/workflows/[email protected]
secrets: inherit
with:
cloud: gcp
validate_max_parallel: 20
test_max_parallel: 5
fail_fast: false
terratest_action: Idempotence # keep in mind that this has to start with capital letter
terratest_action: Idempotence # keep in mind that this has to start with capital letter
8 changes: 4 additions & 4 deletions .github/workflows/sca-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ on:
description: ID of the PR that triggered this workflow
type: string
required: true
pr-title:
pr-title:
description: Title of the PR that triggered this workflow
type: string
required: true
comment-id:
description: 'The comment-id of the slash command'
description: "The comment-id of the slash command"
type: string
required: true
branch:
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
needs: init
permissions:
contents: read
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/[email protected]
uses: PaloAltoNetworks/terraform-modules-swfw-ci-workflows/.github/workflows/[email protected]
secrets: inherit
with:
pre-commit-hooks: terraform_fmt terraform_docs terraform_tflint checkov
Expand All @@ -76,4 +76,4 @@ jobs:
body: |
> Job result: ${{ needs.test.result == 'success' && 'SUCCESS' || 'FAILURE' }}
reactions: ${{ needs.test.result == 'success' && '+1' || '-1' }}
reactions-edit-mode: replace
reactions-edit-mode: replace
6 changes: 3 additions & 3 deletions .github/workflows/validate-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ on:
description: ID of the PR that triggered this workflow
type: string
required: true
pr-title:
pr-title:
description: Title of the PR that triggered this workflow
type: string
required: true
comment-id:
description: 'The comment-id of the slash command'
description: "The comment-id of the slash command"
type: string
required: true
branch:
Expand All @@ -41,7 +41,7 @@ jobs:
contents: read
pull-requests: write
id-token: write
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/[email protected]
uses: PaloAltoNetworks/terraform-modules-swfw-ci-workflows/.github/workflows/[email protected]
secrets: inherit
with:
cloud: gcp
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# mac specific
.DS_Store
.ansible
.azure/
.gcp/
.bash_history
# don't check storage creds into GH
.boto
Expand Down
6 changes: 3 additions & 3 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
{
"type": "feat",
"scope" : "MAJOR",
"scope": "MAJOR",
"release": "major"
}
]
Expand All @@ -36,9 +36,9 @@
[
"@semantic-release/github",
{
"successComment": ":tada: This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version} :tada:\n\nThe release is available on [Terraform Registry](https://registry.terraform.io/modules/PaloAltoNetworks/vmseries-modules/google/latest) and [GitHub release](../releases/tag/v${nextRelease.version})\n\n> Posted by [semantic-release](https://github.com/semantic-release/semantic-release) bot"
"successComment": ":tada: This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version} :tada:\n\nThe release is available on [Terraform Registry](https://registry.terraform.io/modules/PaloAltoNetworks/swfw-modules/google/latest) and [GitHub release](../releases/tag/v${nextRelease.version})\n\n> Posted by [semantic-release](https://github.com/semantic-release/semantic-release) bot"
}
]
],
"preset": "conventionalcommits"
}
}
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ Contributions are welcome across the entire project:

### New Contributors

1. Search the [issues](https://github.com/PaloAltoNetworks/terraform-google-vmseries-modules.git/issues) to see if there is an existing issue. If not, please open one.
1. Search the [issues](https://github.com/PaloAltoNetworks/terraform-google-swfw-modules.git/issues) to see if there is an existing issue. If not, please open one.

1. Fork the repository to your personal namespace (only needed to do this once).

1. Clone the repo from your personal namespace.

`git clone https://github.com/{username}/terraform-google-vmseries-modules.git`
`git clone https://github.com/{username}/terraform-google-swfw-modules.git`
Ensure that `{username}` is _your_ user name.

1. Add the source repository as an upsteam.

`git remote add upstream https://github.com/PaloAltoNetworks/terraform-google-vmseries-modules.git`
`git remote add upstream https://github.com/PaloAltoNetworks/terraform-google-swfw-modules.git`

1. Create a branch which corresponds to the issue ID created in step 1.

Expand Down Expand Up @@ -55,7 +55,7 @@ Contributions are welcome across the entire project:

### Existing Contributors

1. Search the [issues](https://github.com/PaloAltoNetworks/terraform-google-vmseries-modules.git/issues) to see if there is an existing issue. If not, open an issue (note the issue ID).
1. Search the [issues](https://github.com/PaloAltoNetworks/terraform-google-swfw-modules.git/issues) to see if there is an existing issue. If not, open an issue (note the issue ID).
1. Update from the source repository.

`git pull upstream dev`
Expand Down
25 changes: 12 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
![GitHub release (latest by date)](https://img.shields.io/github/v/release/PaloAltoNetworks/terraform-google-vmseries-modules?style=flat-square)
![GitHub](https://img.shields.io/github/license/PaloAltoNetworks/terraform-modules-vmseries-ci-workflows?style=flat-square)
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/PaloAltoNetworks/terraform-google-vmseries-modules/release_ci.yml?style=flat-square)
![GitHub issues](https://img.shields.io/github/issues/PaloAltoNetworks/terraform-google-vmseries-modules?style=flat-square)
![GitHub pull requests](https://img.shields.io/github/issues-pr/PaloAltoNetworks/terraform-google-vmseries-modules?style=flat-square)
![Terraform registry downloads total](https://img.shields.io/badge/dynamic/json?color=green&label=downloads%20total&query=data.attributes.total&url=https%3A%2F%2Fregistry.terraform.io%2Fv2%2Fmodules%2FPaloAltoNetworks%2Fvmseries-modules%2Fgoogle%2Fdownloads%2Fsummary&style=flat-square)
![Terraform registry download month](https://img.shields.io/badge/dynamic/json?color=green&label=downloads%20this%20month&query=data.attributes.month&url=https%3A%2F%2Fregistry.terraform.io%2Fv2%2Fmodules%2FPaloAltoNetworks%2Fvmseries-modules%2Fgoogle%2Fdownloads%2Fsummary&style=flat-square)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/PaloAltoNetworks/terraform-google-swfw-modules?style=flat-square)
![GitHub](https://img.shields.io/github/license/PaloAltoNetworks/terraform-modules-swfw-ci-workflows?style=flat-square)
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/PaloAltoNetworks/terraform-google-swfw-modules/release_ci.yml?style=flat-square)
![GitHub issues](https://img.shields.io/github/issues/PaloAltoNetworks/terraform-google-swfw-modules?style=flat-square)
![GitHub pull requests](https://img.shields.io/github/issues-pr/PaloAltoNetworks/terraform-google-swfw-modules?style=flat-square)
![Terraform registry downloads total](https://img.shields.io/badge/dynamic/json?color=green&label=downloads%20total&query=data.attributes.total&url=https%3A%2F%2Fregistry.terraform.io%2Fv2%2Fmodules%2FPaloAltoNetworks%2Fswfw-modules%2Fgoogle%2Fdownloads%2Fsummary&style=flat-square)
![Terraform registry download month](https://img.shields.io/badge/dynamic/json?color=green&label=downloads%20this%20month&query=data.attributes.month&url=https%3A%2F%2Fregistry.terraform.io%2Fv2%2Fmodules%2FPaloAltoNetworks%2Fswfw-modules%2Fgoogle%2Fdownloads%2Fsummary&style=flat-square)

# Terraform Modules for Palo Alto Networks VM-Series on Google Cloud Platform
# Terraform Modules for Palo Alto Networks Software Firewalls on Google Cloud Platform

## Overview

A set of modules for using **Palo Alto Networks VM-Series firewalls** to provide control and protection
to your applications running on Google Cloud Platform (GCP). It deploys VM-Series as virtual machine
instances and it configures aspects such as Shared VPC connectivity, IAM access, Service Accounts, Panorama virtual
A set of modules for using **Palo Alto Networks Software Firewalls** to provide control and protection
to your applications running on Google Cloud Platform (GCP). It deploys Software Firewalls and it configures aspects such as Shared VPC connectivity, IAM access, Service Accounts, Panorama virtual
machine instances, and more.

The design is heavily based on the [Reference Architecture Guide for Google Cloud Platform](https://pandocs.tech/fw/160p-prime).
Expand Down Expand Up @@ -40,11 +39,11 @@ We are maintaining a [public roadmap](https://github.com/orgs/PaloAltoNetworks/p
## Versioning

These modules follow the principles of [Semantic Versioning](http://semver.org/). You can find each new release,
along with the changelog, on the GitHub [Releases](https://github.com/PaloAltoNetworks/terraform-google-vmseries-modules/releases) page.
along with the changelog, on the GitHub [Releases](https://github.com/PaloAltoNetworks/terraform-google-swfw-modules/releases) page.

## Getting Help

[Open an issue](https://github.com/PaloAltoNetworks/terraform-google-vmseries-modules/issues) on Github.
[Open an issue](https://github.com/PaloAltoNetworks/terraform-google-swfw-modules/issues) on Github.

## Contributing

Expand Down
Loading

0 comments on commit 5abf92f

Please sign in to comment.