Skip to content

Instantly share code, notes, and snippets.

@sammcgeown
Last active January 21, 2020 14:29
Show Gist options
  • Save sammcgeown/23f696e8935249c46d4adf4c21bc3a18 to your computer and use it in GitHub Desktop.
Save sammcgeown/23f696e8935249c46d4adf4c21bc3a18 to your computer and use it in GitHub Desktop.
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"
}
}
# 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"
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