Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SparkResourceSchema = resource_schema.Schema{ Description: "Apache Spark credential resource", Attributes: map[string]resource_schema.Attribute{ "id": resource_schema.StringAttribute{ Description: "The ID of this resource. Contains the project ID and the credential ID.", Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, }, "project_id": resource_schema.Int64Attribute{ Description: "Project ID to create the Apache Spark credential in", Required: true, PlanModifiers: []planmodifier.Int64{ int64planmodifier.RequiresReplace(), }, }, "credential_id": resource_schema.Int64Attribute{ Description: "The system Apache Spark credential ID", Computed: true, PlanModifiers: []planmodifier.Int64{ int64planmodifier.UseStateForUnknown(), }, }, "target_name": resource_schema.StringAttribute{ Description: "Target name", Optional: true, Computed: true, Default: stringdefault.StaticString("default"), DeprecationMessage: "This field is deprecated at the environment level (it was never possible to set it in the UI) and will be removed in a future release. Please remove it and set the target name at the job level or leverage environment variables.", }, "token": resource_schema.StringAttribute{ Description: "Token for Apache Spark user", Required: true, Sensitive: true, }, "schema": resource_schema.StringAttribute{ Description: "The schema where to create models", Required: true, }, }, }
Functions ¶
func SparkCredentialDataSource ¶
func SparkCredentialDataSource() datasource.DataSource
func SparkCredentialResource ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.