mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
s3
This commit is contained in:
parent
15ae0bc167
commit
c10a300b58
@ -45,27 +45,27 @@ func New() backend.Backend {
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
Description: "Name of the automatically managed Postgres schema to store state",
|
||||
DefaultFunc: schema.EnvDefaultFunc("PG_SCHEMA_NAME", "terraform_remote_state"),
|
||||
DefaultFunc: schema.EnvDefaultFunc("PG_SCHEMA_NAME", "opentf_remote_state"),
|
||||
},
|
||||
|
||||
"skip_schema_creation": {
|
||||
Type: schema.TypeBool,
|
||||
Optional: true,
|
||||
Description: "If set to `true`, Terraform won't try to create the Postgres schema",
|
||||
Description: "If set to `true`, OpenTF won't try to create the Postgres schema",
|
||||
DefaultFunc: defaultBoolFunc("PG_SKIP_SCHEMA_CREATION", false),
|
||||
},
|
||||
|
||||
"skip_table_creation": {
|
||||
Type: schema.TypeBool,
|
||||
Optional: true,
|
||||
Description: "If set to `true`, Terraform won't try to create the Postgres table",
|
||||
Description: "If set to `true`, OpenTF won't try to create the Postgres table",
|
||||
DefaultFunc: defaultBoolFunc("PG_SKIP_TABLE_CREATION", false),
|
||||
},
|
||||
|
||||
"skip_index_creation": {
|
||||
Type: schema.TypeBool,
|
||||
Optional: true,
|
||||
Description: "If set to `true`, Terraform won't try to create the Postgres index",
|
||||
Description: "If set to `true`, OpenTF won't try to create the Postgres index",
|
||||
DefaultFunc: defaultBoolFunc("PG_SKIP_INDEX_CREATION", false),
|
||||
},
|
||||
},
|
||||
|
@ -394,8 +394,8 @@ func (b *Backend) Configure(obj cty.Value) tfdiags.Diagnostics {
|
||||
Token: stringAttr(obj, "token"),
|
||||
UserAgentProducts: []*awsbase.UserAgentProduct{
|
||||
{Name: "APN", Version: "1.0"},
|
||||
{Name: "HashiCorp", Version: "1.0"},
|
||||
{Name: "Terraform", Version: version.String()},
|
||||
{Name: "placeholderplaceholderplaceholder", Version: "1.0"},
|
||||
{Name: "OpenTF", Version: version.String()},
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user