Replace generic host error messages for feature support
This commit is contained in:
parent
ea8ad0b15a
commit
a5f063625a
|
@ -100,7 +100,7 @@ func (b *Cloud) opApply(stopCtx, cancelCtx context.Context, op *backend.Operatio
|
|||
tfdiags.Error,
|
||||
"Planning without refresh is not supported",
|
||||
fmt.Sprintf(
|
||||
`The host %s does not support the -refresh=false option for `+
|
||||
`The Terraform Enterprise installation at %s does not support the -refresh=false option for `+
|
||||
`remote plans.`,
|
||||
b.hostname,
|
||||
),
|
||||
|
@ -116,7 +116,7 @@ func (b *Cloud) opApply(stopCtx, cancelCtx context.Context, op *backend.Operatio
|
|||
tfdiags.Error,
|
||||
"Refresh-only mode is not supported",
|
||||
fmt.Sprintf(
|
||||
`The host %s does not support -refresh-only mode for `+
|
||||
`The Terraform Enterprise installation at %s does not support -refresh-only mode for `+
|
||||
`remote plans.`,
|
||||
b.hostname,
|
||||
),
|
||||
|
@ -132,7 +132,7 @@ func (b *Cloud) opApply(stopCtx, cancelCtx context.Context, op *backend.Operatio
|
|||
tfdiags.Error,
|
||||
"Planning resource replacements is not supported",
|
||||
fmt.Sprintf(
|
||||
`The host %s does not support the -replace option for `+
|
||||
`The Terraform Enterprise installation at %s does not support the -replace option for `+
|
||||
`remote plans.`,
|
||||
b.hostname,
|
||||
),
|
||||
|
@ -148,7 +148,7 @@ func (b *Cloud) opApply(stopCtx, cancelCtx context.Context, op *backend.Operatio
|
|||
tfdiags.Error,
|
||||
"Resource targeting is not supported",
|
||||
fmt.Sprintf(
|
||||
`The host %s does not support the -target option for `+
|
||||
`The Terraform Enterprise installation at %s does not support the -target option for `+
|
||||
`remote plans.`,
|
||||
b.hostname,
|
||||
),
|
||||
|
|
|
@ -106,7 +106,7 @@ func (b *Cloud) opPlan(stopCtx, cancelCtx context.Context, op *backend.Operation
|
|||
tfdiags.Error,
|
||||
"Resource targeting is not supported",
|
||||
fmt.Sprintf(
|
||||
`The host %s does not support the -target option for `+
|
||||
`The Terraform Enterprise installation at %s does not support the -target option for `+
|
||||
`remote plans.`,
|
||||
b.hostname,
|
||||
),
|
||||
|
@ -122,7 +122,7 @@ func (b *Cloud) opPlan(stopCtx, cancelCtx context.Context, op *backend.Operation
|
|||
tfdiags.Error,
|
||||
"Planning without refresh is not supported",
|
||||
fmt.Sprintf(
|
||||
`The host %s does not support the -refresh=false option for `+
|
||||
`The Terraform Enterprise installation at %s does not support the -refresh=false option for `+
|
||||
`remote plans.`,
|
||||
b.hostname,
|
||||
),
|
||||
|
@ -138,7 +138,7 @@ func (b *Cloud) opPlan(stopCtx, cancelCtx context.Context, op *backend.Operation
|
|||
tfdiags.Error,
|
||||
"Planning resource replacements is not supported",
|
||||
fmt.Sprintf(
|
||||
`The host %s does not support the -replace option for `+
|
||||
`The Terraform Enterprise installation at %s does not support the -replace option for `+
|
||||
`remote plans.`,
|
||||
b.hostname,
|
||||
),
|
||||
|
@ -154,7 +154,7 @@ func (b *Cloud) opPlan(stopCtx, cancelCtx context.Context, op *backend.Operation
|
|||
tfdiags.Error,
|
||||
"Refresh-only mode is not supported",
|
||||
fmt.Sprintf(
|
||||
`The host %s does not support -refresh-only mode for `+
|
||||
`The Terraform Enterprise installation at %s does not support -refresh-only mode for `+
|
||||
`remote plans.`,
|
||||
b.hostname,
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue