mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
terraform: Adding provisioners to a resource
This commit is contained in:
parent
d46ca67f92
commit
55124b9e28
@ -13,11 +13,12 @@ import (
|
|||||||
// its current state, and potentially a desired diff from the state it
|
// its current state, and potentially a desired diff from the state it
|
||||||
// wants to reach.
|
// wants to reach.
|
||||||
type Resource struct {
|
type Resource struct {
|
||||||
Id string
|
Id string
|
||||||
Config *ResourceConfig
|
Config *ResourceConfig
|
||||||
Diff *ResourceDiff
|
Diff *ResourceDiff
|
||||||
Provider ResourceProvider
|
Provider ResourceProvider
|
||||||
State *ResourceState
|
State *ResourceState
|
||||||
|
Provisioners []ResourceProvisioner
|
||||||
}
|
}
|
||||||
|
|
||||||
// Vars returns the mapping of variables that should be replaced in
|
// Vars returns the mapping of variables that should be replaced in
|
||||||
|
Loading…
Reference in New Issue
Block a user