runway.config.models.runway.options.terraform module

Runway Terraform Module options.

pydantic model runway.config.models.runway.options.terraform.RunwayTerraformArgsDataModel[source]

Bases: ConfigProperty

Model for Runway Terraform Module args option.

Show JSON schema
{
   "title": "Runway Terraform Module args option",
   "description": "Model for Runway Terraform Module args option.",
   "type": "object",
   "properties": {
      "apply": {
         "default": [],
         "items": {
            "type": "string"
         },
         "title": "Apply",
         "type": "array"
      },
      "init": {
         "default": [],
         "items": {
            "type": "string"
         },
         "title": "Init",
         "type": "array"
      },
      "plan": {
         "default": [],
         "items": {
            "type": "string"
         },
         "title": "Plan",
         "type": "array"
      }
   },
   "additionalProperties": false
}

field apply: list[str] = []
field init: list[str] = []
field plan: list[str] = []
pydantic model runway.config.models.runway.options.terraform.RunwayTerraformBackendConfigDataModel[source]

Bases: ConfigProperty

Model for Runway Terraform Module terraform_backend_config option.

Show JSON schema
{
   "title": "Runway Terraform Module terraform_backend_config option",
   "description": "Model for Runway Terraform Module terraform_backend_config option.",
   "type": "object",
   "properties": {
      "bucket": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Bucket"
      },
      "dynamodb_table": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Dynamodb Table"
      },
      "region": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Region"
      },
      "workspace_key_prefix": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Workspace Key Prefix"
      }
   },
   "additionalProperties": false
}

field bucket: str | None = None
field dynamodb_table: str | None = None
field region: str | None = None
field workspace_key_prefix: str | None = None
pydantic model runway.config.models.runway.options.terraform.RunwayTerraformModuleOptionsDataModel[source]

Bases: ConfigProperty

Model for Runway Terraform Module options.

Show JSON schema
{
   "title": "Runway Terraform Module options",
   "description": "Model for Runway Terraform Module options.",
   "type": "object",
   "properties": {
      "args": {
         "$ref": "#/$defs/RunwayTerraformArgsDataModel",
         "default": {
            "apply": [],
            "init": [],
            "plan": []
         }
      },
      "terraform_backend_config": {
         "$ref": "#/$defs/RunwayTerraformBackendConfigDataModel",
         "default": {
            "bucket": null,
            "dynamodb_table": null,
            "region": null,
            "workspace_key_prefix": null
         }
      },
      "terraform_version": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Terraform Version"
      },
      "terraform_workspace": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Terraform Workspace"
      },
      "terraform_write_auto_tfvars": {
         "default": false,
         "title": "Terraform Write Auto Tfvars",
         "type": "boolean"
      }
   },
   "$defs": {
      "RunwayTerraformArgsDataModel": {
         "additionalProperties": false,
         "description": "Model for Runway Terraform Module args option.",
         "properties": {
            "apply": {
               "default": [],
               "items": {
                  "type": "string"
               },
               "title": "Apply",
               "type": "array"
            },
            "init": {
               "default": [],
               "items": {
                  "type": "string"
               },
               "title": "Init",
               "type": "array"
            },
            "plan": {
               "default": [],
               "items": {
                  "type": "string"
               },
               "title": "Plan",
               "type": "array"
            }
         },
         "title": "Runway Terraform Module args option",
         "type": "object"
      },
      "RunwayTerraformBackendConfigDataModel": {
         "additionalProperties": false,
         "description": "Model for Runway Terraform Module terraform_backend_config option.",
         "properties": {
            "bucket": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Bucket"
            },
            "dynamodb_table": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Dynamodb Table"
            },
            "region": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Region"
            },
            "workspace_key_prefix": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Workspace Key Prefix"
            }
         },
         "title": "Runway Terraform Module terraform_backend_config option",
         "type": "object"
      }
   }
}

field args: RunwayTerraformArgsDataModel = RunwayTerraformArgsDataModel(apply=[], init=[], plan=[])
field backend_config: RunwayTerraformBackendConfigDataModel = RunwayTerraformBackendConfigDataModel(bucket=None, dynamodb_table=None, region=None, workspace_key_prefix=None) (alias 'terraform_backend_config')
field version: Annotated[str | None, Field(alias='terraform_version')] = None (alias 'terraform_version')
field workspace: Annotated[str | None, Field(alias='terraform_workspace')] = None (alias 'terraform_workspace')
field write_auto_tfvars: Annotated[bool, Field(alias='terraform_write_auto_tfvars')] = False (alias 'terraform_write_auto_tfvars')