page_title | subcategory | description |
---|---|---|
Enterprise Console Provider |
Terraform Provider for Enterprise Console |
Use the Enterprise Console provider to interact with Nitrado Enterprise Console.
terraform {
required_providers {
ec = {
source = "nitrado/ec"
version = ">=1.0.0"
}
}
required_version = ">= 0.14"
}
provider "ec" {
host = "<your enterprise console host url>"
instances {
name = "my-other-instance"
host = "<your enterprise console host url>"
}
}
resource "ec_core_site" "test" {
metadata {
name = "test"
}
spec {
description = "My test"
credentials {
endpoint = "<your endpoint>"
certificate = "<your cert>"
namespace = "<your ns>"
token = "<your token>"
}
}
}
resource "ec_core_site" "test2" {
instance = "my-other-instance"
metadata {
name = "test"
}
spec {
description = "My other test"
credentials {
endpoint = "<your endpoint>"
certificate = "<your cert>"
namespace = "<your ns>"
token = "<your token>"
}
}
}
client_id
(String) The oAuth2 client id to authenticate against.client_secret
(String) The oAuth2 client secret to authenticate against.host
(String) The hostname (in form of URI) of the Enterprise Console API.instances
(Block List) Named Enterprise Console instances. (see below for nested schema)password
(String) The password to authenticate with.token
(String) The oAuth token to authenticate with.token_endpoint
(String) The URI to the token authentication endpoint.username
(String) The user to authenticate with.
Required:
client_id
(String) The oAuth2 client id to authenticate against.host
(String) The hostname (in form of URI) of the Enterprise Console API.name
(String) The instance name.
Optional:
client_secret
(String) The oAuth2 client secret to authenticate against.password
(String) The password to authenticate with.token
(String) The oAuth token to authenticate with.token_endpoint
(String) The URI to the token authentication endpoint.username
(String) The user to authenticate with.