Add existing project files to Git
This commit is contained in:
32
main.tf
Normal file
32
main.tf
Normal file
@@ -0,0 +1,32 @@
|
||||
terraform {
|
||||
required_providers {
|
||||
proxmox = {
|
||||
source = "bpg/proxmox"
|
||||
version = "0.33"
|
||||
}
|
||||
}
|
||||
backend "s3" {
|
||||
bucket = "terraform-remote-state"
|
||||
key = "terraform.tfstate"
|
||||
|
||||
endpoint = "http://10.20.1.5:9000"
|
||||
|
||||
access_key="GeOhlbqGrL9KS1fZW06C"
|
||||
secret_key="PxWWN2KuK7m0GLLfH45sDTB0e4DhrSseL4KfmR8m"
|
||||
|
||||
region = "main"
|
||||
skip_credentials_validation = true
|
||||
skip_metadata_api_check = true
|
||||
skip_region_validation = true
|
||||
force_path_style = true
|
||||
}
|
||||
}
|
||||
|
||||
provider "proxmox" {
|
||||
endpoint = var.virtual_environment_endpoint
|
||||
api_token = var.virtual_environment_api_token
|
||||
insecure = true
|
||||
ssh {
|
||||
agent = true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user