Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 655 Bytes

File metadata and controls

29 lines (22 loc) · 655 Bytes

Examples

resource "spotinstadmin_account" "custdep" {
  name            = "${var.custdep}"
}

resource "spotinstadmin_account_external_id" "custdep" {
  account_id            = "${spotinstadmin_account.custdep.id}"
}

resource "spotinstadmin_account_aws_link" "custdep" {
  account_id      = "${spotinstadmin_account.custdep.id}"
  aws_role_arn    = "${aws_iam_role.spotinst.arn}"
}

resource "spotinstadmin_programmatic_user" "custdep" {
  name        = "${var.custdep}"
  account_id  = "${spotinstadmin_account.custdep.id}"
  description = "Account for ${var.custdep}"
}

Building the Provider

go get && go build .