Last active
January 21, 2020 14:29
-
-
Save sammcgeown/23f696e8935249c46d4adf4c21bc3a18 to your computer and use it in GitHub Desktop.
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
resource "vra_cloud_account_aws" "this" { | |
name = "AWS Cloud Account" | |
description = "AWS Cloud Account configured by Terraform" | |
access_key = var.aws_access_key | |
secret_key = var.aws_secret_key | |
regions = ["us-east-1", "us-west-1"] | |
tags { | |
key = "cloud" | |
value = "aws" | |
} | |
} |
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
# vRealize Automation | |
vra_refresh_token = "3FRJiZC...snip...lWx2xDqJPf" | |
vra_url = "https://api.mgmt.cloud.vmware.com" | |
# AWS Cloud Account | |
aws_access_key = "AKI...snip...R6VQ" | |
aws_secret_key = "sPm+...snip...mHUKlD" |
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
variable vra_url { | |
type = string | |
} | |
variable vra_refresh_token { | |
type = string | |
} | |
variable aws_access_key { | |
type = string | |
} | |
variable aws_secret_key { | |
type = string | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment