This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: kpt.dev/v1 | |
kind: Kptfile | |
metadata: | |
name: nginx | |
info: | |
emails: | |
- [email protected] | |
description: This is an example nginx web server deployment | |
pipeline: | |
mutators: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#---------------------------------------------------------------- | |
# Create Logic app to post alerts to Microsoft Teams channel | |
#---------------------------------------------------------------- | |
resource "azurerm_logic_app_workflow" "logicapp" { | |
name = var.logicapp_name | |
location = var.location | |
resource_group_name = var.rg_name | |
lifecycle { | |
ignore_changes = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow installs the latest version of Terraform CLI and configures the Terraform CLI configuration file | |
# with an API token for Terraform Cloud (app.terraform.io). On pull request events, this workflow will run | |
# `terraform init`, `terraform fmt`, and `terraform plan` (speculative plan via Terraform Cloud). On push events | |
# to the main branch, `terraform apply` will be executed. | |
# | |
# Documentation for `hashicorp/setup-terraform` is located here: https://github.com/hashicorp/setup-terraform | |
name: 'Terraform' | |
on: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# repos lists the config for specific repos. | |
repos: | |
# id can either be an exact repo ID or a regex. | |
# If using a regex, it must start and end with a slash. | |
# Repo ID's are of the form {VCS hostname}/{org}/{repo name}, ex. | |
# github.com/runatlantis/atlantis. | |
- id: /.*/ | |
# allow_custom_workflows defines whether this repo can define its own | |
# workflows. If false (default), the repo can only use server-side defined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Infracost Tool Demonstration | |
# Importing official atlantis docker image | |
FROM runatlantis/atlantis:v0.17.0 | |
RUN apk update && apk upgrade | |
# Python | |
RUN apk add bash py-pip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"adminUserName": { | |
"value": "DemoUser" | |
}, | |
"adminPassword": { | |
"value": "Azure@19811" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// All Parameters required for Azure Deployment is given here. | |
param rgName1 string | |
param rgName2 string | |
param adminUserName string | |
@secure() | |
param adminPassword string | |
param dnsLabelPrefix string | |
// ------------------------------ | |
// Network Module is called here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// All Parameters required for VM Deployment is given here. | |
param adminUserName string | |
@secure() | |
param adminPassword string | |
param dnsLabelPrefix string | |
@description('location for all resources') | |
param location string = resourceGroup().location | |
// All Variables required for VM Deployment is given here. | |
var windowsOSVersion = '2016-Datacenter' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// All Parameters required for Network Deployment is given here. | |
param location string = resourceGroup().location | |
// All Variables required for Network Deployment is given here. | |
var addressPrefix = '10.10.0.0/16' | |
var subnetName = 'Subnet1' | |
var subnetPrefix = '10.10.1.0/24' | |
var virtualNetworkName = 'VNET1' | |
var networkSecurityGroupName = 'default-NSG' |