Skip to content

Commit

Permalink
Add rotate_when_changed to tailnet key schema
Browse files Browse the repository at this point in the history
  • Loading branch information
omBratteng committed Mar 23, 2023
1 parent 30dc9a2 commit aa99cef
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tailscale/resource_tailnet_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ func resourceTailnetKey() *schema.Resource {
Description: "The expiry of the key in seconds",
ForceNew: true,
},
"rotate_when_changed": {
Description: "Arbitrary map of values that, when changed, will trigger rotation of the key.",
Type: schema.TypeMap,
Optional: true,
ForceNew: true,
Elem: &schema.Schema{
Type: schema.TypeString,
},
},
},
}
}
Expand Down

0 comments on commit aa99cef

Please sign in to comment.