Skip to content
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1 from aztfmod/vnext
Browse files Browse the repository at this point in the history
July 2020
  • Loading branch information
arnaudlh authored Jul 23, 2020
2 parents e64ef67 + a4bf806 commit 542bb16
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 2 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/master.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#
# Copyright (c) Microsoft Corporation
# Licensed under the MIT License.
#

name: caf_landing_zones_github_actions

on:
push:
branches:
- master
- vnext
pull_request:
branches:
- master
- vnext

jobs:
tfsec:
name: Run TFsec
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Terraform security scan
uses: triat/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
docs:
name: Run Terraform-docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Run Terraform-docs
uses: Dirrk/[email protected]
with:
tf_docs_working_dir: .
tf_docs_output_file: README.md
tf_docs_output_method: inject
tf_docs_git_push: 'true'
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
rev: v1.31.0
hooks:
- id: terraform_fmt
- id: terraform_docs
#- id: terraform_docs
- id: terraform_tflint
#- id: terraform_tfsec
- repo: git://github.com/pre-commit/pre-commit-hooks
Expand Down
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
[![VScodespaces](https://img.shields.io/endpoint?url=https%3A%2F%2Faka.ms%2Fvso-badge)](https://online.visualstudio.com/environments/new?name=terraform-azurerm-caf-custom-role&repo=aztfmod/terraform-azurerm-caf-custom-role)
[![Gitter](https://badges.gitter.im/aztfmod/community.svg)](https://gitter.im/aztfmod/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

# Deploy custom roles and assign to subscriptions

This module creates a set of custom roles and assigns them to a subscription.

<!--- BEGIN_TF_DOCS --->
## Requirements

No requirements.

## Providers

| Name | Version |
|------|---------|
| azurecaf | n/a |
| azurerm | n/a |

## Inputs

| Name | Description | Type | Default | Required |
Expand All @@ -18,5 +31,9 @@ This module creates a set of custom roles and assigns them to a subscription.

| Name | Description |
|------|-------------|
| assignment | n/a |
| azurecaf\_naming\_convention | n/a |
| custom\_role\_definitions | n/a |
| custom\_role | n/a |
| custom\_role\_definitions | n/a |

<!--- END_TF_DOCS --->

0 comments on commit 542bb16

Please sign in to comment.