forked from arundeepkurni/gitops-tf-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.tf
More file actions
33 lines (28 loc) · 678 Bytes
/
main.tf
File metadata and controls
33 lines (28 loc) · 678 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
terraform {
required_version = ">= 0.14.0"
required_providers {
spectrocloud = {
version = "~> 0.5.0"
source = "spectrocloud/spectrocloud"
}
}
backend "s3" {
bucket = "terraform-state-spectro-piyush"
key = "project-edison/terraform.tfstate"
region = "us-east-1"
}
}
# Spectro Cloud
variable "sc_host" {}
variable "sc_username" {}
variable "sc_password" {}
variable "sc_project_name" {}
provider "spectrocloud" {
host = var.sc_host
username = var.sc_username
password = var.sc_password
project_name = var.sc_project_name
}
# data "spectrocloud_cloudaccount_aws" "default" {
# name = "aws-picard-2"
# }