Initial commit
This commit is contained in:
commit
ea0a2ec060
3 changed files with 68 additions and 0 deletions
33
.gitignore
vendored
Normal file
33
.gitignore
vendored
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# Local .terraform directories
|
||||||
|
**/.terraform/*
|
||||||
|
|
||||||
|
# .tfstate files
|
||||||
|
*.tfstate
|
||||||
|
*.tfstate.*
|
||||||
|
|
||||||
|
# Crash log files
|
||||||
|
crash.log
|
||||||
|
|
||||||
|
# Exclude all .tfvars files, which are likely to contain sentitive data, such as
|
||||||
|
# password, private keys, and other secrets. These should not be part of version
|
||||||
|
# control as they are data points which are potentially sensitive and subject
|
||||||
|
# to change depending on the environment.
|
||||||
|
#
|
||||||
|
*.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*
|
||||||
|
|
||||||
|
# Ignore CLI configuration files
|
||||||
|
.terraformrc
|
23
.terraform.lock.hcl
generated
Normal file
23
.terraform.lock.hcl
generated
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# This file is maintained automatically by "terraform init".
|
||||||
|
# Manual edits may be lost in future updates.
|
||||||
|
|
||||||
|
provider "registry.terraform.io/telmate/proxmox" {
|
||||||
|
version = "2.8.0"
|
||||||
|
constraints = "2.8.0"
|
||||||
|
hashes = [
|
||||||
|
"h1:RmEhNI5/T73g8+gSqy20MSgszjTquC+srhIflQWlNRE=",
|
||||||
|
"zh:210fe85f6bdc51196dbda2c12de5fd0ddd597704fc91f5a08346cebd7493ff42",
|
||||||
|
"zh:360ad867389041aacc3184632e682a068daae20271c51ab31ea49ce77076c31e",
|
||||||
|
"zh:386243cab8be04b485d9ac7b1cb6d603bc800c0c69453eca0a13e64a69f1c43c",
|
||||||
|
"zh:3b46ad0d6b517d84dca252ec64df6b9d1ff2d4376ed69fb0679d19f3308756eb",
|
||||||
|
"zh:3f1a1292da7d2e5d7e67179c26d26fc865f822576d72d6723d299d483a9a0c56",
|
||||||
|
"zh:41e513e107f692250519f37a3656c6172093e53d037a447228fc5a025e89954f",
|
||||||
|
"zh:496938004d56eea7c8e4e7401a53fcaabeaa9475aa1b7152787968b5aaae946e",
|
||||||
|
"zh:6755a0a470c4af9058c9c1f18f0f63fd8d6e6cfa928665beb16dc7043b50b5f1",
|
||||||
|
"zh:78208afc9d8be564b886ac4f4bc1d8c20a0f7cb2bebdced97622b45e8df0c591",
|
||||||
|
"zh:a5a40c9a50c5daa095877ab25a86bdf8dbceaf457b81fc8dd02629a50c3b56e1",
|
||||||
|
"zh:d89d5de3e3716353859d40ecdd75033bc873732989117f9b9baf7a87788c493e",
|
||||||
|
"zh:e1b20fd36a5fb7587821377c61f92e9e926743f71e381ee54336d0475a23524a",
|
||||||
|
"zh:f5da99f1a00a9637c8988f2115f84157836627927800628576cfe7b0e53e967e",
|
||||||
|
]
|
||||||
|
}
|
12
main.tf
Normal file
12
main.tf
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
terraform {
|
||||||
|
required_providers {
|
||||||
|
proxmox = {
|
||||||
|
source = "telmate/proxmox"
|
||||||
|
version = "2.8.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
provider "proxmox" {
|
||||||
|
pm_api_url = "https://10.42.42.42:8006/api2/json"
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue