Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/opentelekomcloud/terraform-provider-opentelekomcloud

Terraform OpenTelekomCloud provider
https://github.com/opentelekomcloud/terraform-provider-opentelekomcloud

Last synced: 11 days ago
JSON representation

Terraform OpenTelekomCloud provider

Awesome Lists containing this project

README

        


Terraform logo

Terraform Open Telekom Cloud Provider
=====================================
[![Documentation](https://img.shields.io/badge/documentation-blue)](https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/latest/docs)

Quick Start
-----------
> When using the OpenTelekomCloud Provider with Terraform 0.13 and later, the recommended approach is to declare Provider versions in the root module Terraform configuration, using a `required_providers` block as per the following example. For previous versions, please continue to pin the version within the provider block.

1. Add [opentelekomcloud/opentelekomcloud](https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/latest/docs) to your `required_providers`.
```hcl
# provider.tf
terraform {
required_providers {
opentelekomcloud = {
source = "opentelekomcloud/opentelekomcloud"
version = ">= 1.23.2"
}
}
}
```
2. Run `terraform init -upgrade` to download the provider.
3. Add the provider and supply your `tenant_name` and `domain_name` for minimum configuration.
```hcl
# provider.tf
provider "opentelekomcloud" {
# OpenTelekomCloud Provider Documentation:
# https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/latest/docs
# domain_name = "..."
# tenant_name = "..."
# auth_url = "https://iam.eu-de.otc.t-systems.com/v3"
# user_name = "..."
# password = "..."
}
```
5. [Authenticate](https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/latest/docs#authentication) either by providing `user_name` and `password` in the previous file or setting them as environment variables.
```bash
# Linux
OS_USERNAME=""
OS_PASSWORD=""
$env:OS_PASSWORD="