Skip to content

Commit

Permalink
add new module google VM
Browse files Browse the repository at this point in the history
  • Loading branch information
devopsmher committed Nov 21, 2022
1 parent 90fec36 commit cdfbb07
Show file tree
Hide file tree
Showing 255 changed files with 12,480 additions and 27 deletions.
10 changes: 10 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.git
.terraform
.terraform.d
.kitchen
terraform.tfstate.d
test/fixtures/*/.terraform
test/fixtures/*/terraform.tfstate.d
examples/.kitchen
examples/*/.terraform
examples/*/terraform.tfstate.d
2 changes: 2 additions & 0 deletions .dockerignore:Zone.Identifier
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[ZoneTransfer]
ZoneId=3
16 changes: 16 additions & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

releaseType: terraform-module
handleGHRelease: true
40 changes: 40 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":semanticCommits",
":preserveSemverRanges"
],
"stabilityDays":7,
"ignorePaths": [],
"labels": ["dependencies"],
"vulnerabilityAlerts":{
"labels":[
"type:security"
],
"stabilityDays":0
},
"packageRules": [
{
"matchDepTypes": ["module"],
"groupName": "TF modules",
"separateMajorMinor":false
},
{
"matchDepTypes": ["require"],
"groupName": "GO modules",
"postUpdateOptions": ["gomodTidy"],
"separateMajorMinor":false
},
{
"matchPackageNames": ["go"],
"allowedVersions": "<1.19.0",
"postUpdateOptions": ["gomodTidy"]
},
{
"matchPackageNames": ["google", "google-beta"],
"groupName": "terraform googles",
"separateMajorMinor": false
}
]
}
29 changes: 29 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: "Close stale issues"
on:
schedule:
- cron: "0 23 * * *"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v6
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days'
stale-pr-message: 'This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days'
exempt-issue-labels: triaged
49 changes: 23 additions & 26 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,29 +1,26 @@
# Local .terraform directories
**/.terraform/*
**/.terraform/**
**tfstate*
**/*.pem
terraform.tfvars
**/account.json
**/credentials
.DS_Store
.terraform
.terraform.tfstate.d
*.pyc
credentials*.json

# .tfstate files
*.tfstate
*.tfstate.*
# JetBrains - PyCharm, IntelliJ, etc.
.idea/
__pycache__/
*.iml
.project

# Crash log files
crash.log
# Kitchen files
**/inspec.lock
**/.kitchen
**/kitchen.local.yml
**/Gemfile.lock

# Ignore any .tfvars files that are generated automatically for each Terraform run. Most
# .tfvars files are managed as part of configuration and so should be included in
# version control.
#
# example.tfvars

# Ignore override files as they are usually used to override resources locally and so
# are not checked in
override.tf
override.tf.json
*_override.tf
*_override.tf.json

# Include override files you do wish to add to version control using negated pattern
#
# !example_override.tf

# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
# example: *tfplan*
# tf lock file
.terraform.lock.hcl
105 changes: 105 additions & 0 deletions .kitchen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
driver:
name: terraform
verify_version: false

provisioner:
name: terraform

platforms:
- name: local

verifier:
name: terraform
systems:
- name: system
backend: local

suites:
- name: it_simple
driver:
name: terraform
command_timeout: 1800
root_module_directory: test/fixtures/instance_template/simple
- name: it_additional_disks
driver:
name: terraform
command_timeout: 1800
root_module_directory: test/fixtures/instance_template/additional_disks
- name: it_alias_ip_range
driver:
name: terraform
command_timeout: 1800
root_module_directory: test/fixtures/instance_template/alias_ip_range
- name: preemptible_and_regular_instance_templates_simple
driver:
name: terraform
command_timeout: 1800
root_module_directory: test/fixtures/preemptible_and_regular_instance_templates/simple
- name: instance_simple_zone
driver:
name: terraform
command_timeout: 1800
root_module_directory: test/fixtures/compute_instance/simple_zone
- name: disk_snapshot
driver:
name: terraform
command_timeout: 1800
root_module_directory: test/fixtures/compute_instance/disk_snapshot
- name: mig_simple
driver:
name: terraform
command_timeout: 1800
root_module_directory: test/fixtures/mig/simple
- name: mig_autoscaler
lifecycle:
pre_verify:
# Wait for instances to be created
- local: sleep 300
driver:
name: terraform
command_timeout: 1800
root_module_directory: test/fixtures/mig/autoscaler
- name: mig_healthcheck
lifecycle:
pre_verify:
# Wait for instances to be created
- local: sleep 300
driver:
name: terraform
command_timeout: 1800
root_module_directory: test/fixtures/mig/healthcheck
- name: umig_simple
driver:
name: terraform
command_timeout: 1800
root_module_directory: test/fixtures/umig/simple
- name: umig_named_ports
driver:
name: terraform
command_timeout: 1800
root_module_directory: test/fixtures/umig/named_ports
- name: umig_static_ips
driver:
name: terraform
command_timeout: 1800
root_module_directory: test/fixtures/umig/static_ips
- name: mig_with_percent_simple
driver:
name: terraform
command_timeout: 1800
root_module_directory: test/fixtures/mig_with_percent/simple
Loading

0 comments on commit cdfbb07

Please sign in to comment.