mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
13 lines
323 B
Go
13 lines
323 B
Go
|
package terraform
|
||
|
|
||
|
// Resource encapsulates a resource, its configuration, its provider,
|
||
|
// its current state, and potentially a desired diff from the state it
|
||
|
// wants to reach.
|
||
|
type Resource struct {
|
||
|
Id string
|
||
|
Config *ResourceConfig
|
||
|
Diff *ResourceDiff
|
||
|
Provider ResourceProvider
|
||
|
State *ResourceState
|
||
|
}
|