Skip to content

Commit

Permalink
Update resource_context.go
Browse files Browse the repository at this point in the history
Mentioned that a user can include autoattach if they are creating contexts via our TF provider
  • Loading branch information
maxehio authored Nov 20, 2024
1 parent 427f085 commit 5609a8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spacelift/resource_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ func resourceContext() *schema.Resource {
},
"labels": {
Type: schema.TypeSet,
Description: "To leverage the `autoattach` magic label, ensure your label follows the naming convention: `autoattach:<your-label-name>`"

Check failure on line 140 in spacelift/resource_context.go

View workflow job for this annotation

GitHub Actions / Check documentation

syntax error: unexpected newline in composite literal; possibly missing comma or }

Check failure on line 140 in spacelift/resource_context.go

View workflow job for this annotation

GitHub Actions / Run linter

missing ',' before newline in composite literal
Elem: &schema.Schema{
Type: schema.TypeString,
ValidateDiagFunc: validations.DisallowEmptyString,
Expand Down

0 comments on commit 5609a8a

Please sign in to comment.