Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

Latest commit

 

History

History
51 lines (40 loc) · 1.22 KB

index.html.markdown

File metadata and controls

51 lines (40 loc) · 1.22 KB
layout page_title sidebar_current description
rightscale
Provider: Rightscale
docs-rightscale-index
The RightScale provider is used to interact with the RightScale Cloud Management Platform. The provider needs to be configured with the proper credentials before it can be used.

RightScale Provider

The Rightscale provider is used to interact with the the RightScale Cloud Management Platform.

The provider needs to be configured with the proper credentials before it can be used.

Use the navigation to the left to read about the available data sources.

Example Usage

provider "rightscale" {
  rightscale_api_token = "${var.rightscale_api_token}"
  rightscale_project_id = "${var.rightscale_account_id}"
}

data "rightscale_cloud" "ec2_us_oregon" {
  filter {
    name = "EC2 us-west-2"
    cloud_type = "amazon"
  }
}

data "rightscale_cloud" "azure_us_east" {
  filter {
    name = "Azure East US"
    cloud_type = "azure"
  }
}

resource "rightscale_instance" "test-instance-oregon" {
  cloud_href = "${data.rightscale_cloud.ec2_us_oregon.id}"
  name = ...
  ...
}

resource "rightscale_instance" "test-instance-east" {
  cloud_href = "${data.rightscale_cloud.azure_us_east.id}"
  name = ...
  ...
}