Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1007 Bytes

environment.md

File metadata and controls

47 lines (33 loc) · 1007 Bytes
page_title subcategory description
morpheus_environment Resource - terraform-provider-morpheus
Provides a Morpheus environment resource

morpheus_environment

Provides a Morpheus environment resource

Example Usage

resource "morpheus_environment" "tf_example_environment" {
  active      = true
  code        = "tfexample"
  description = "Terraform Example"
  name        = "tfexample"
}

Schema

Required

  • name (String) The name of the environment

Optional

  • active (Boolean) Whether the environment is enabled or not
  • code (String) The code of the environment
  • description (String) The description of the environment
  • visibility (String) Whether the environment is visible in sub-tenants or not

Read-Only

  • id (String) The ID of the environment

Import

Import is supported using the following syntax:

terraform import morpheus_environment.tf_example_environment 1