Documentation ¶
Index ¶
- type BackendS3
- func (b *BackendS3) GetBackendBytes(infraName, moduleName string) ([]byte, error)
- func (b *BackendS3) GetBackendHCL(infraName, moduleName string) (*hclwrite.File, error)
- func (b *BackendS3) GetRemoteStateHCL(infraName, moduleName string) ([]byte, error)
- func (b *BackendS3) Name() string
- func (b *BackendS3) Provider() string
- func (b *BackendS3) State() map[string]interface{}
- type Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendS3 ¶
type BackendS3 struct { Bucket string `yaml:"bucket"` Region string `yaml:"region"` // contains filtered or unexported fields }
BackendS3 - describe s3 backend for interface package.backend.
func (*BackendS3) GetBackendBytes ¶
GetBackendBytes generate terraform backend config.
func (*BackendS3) GetBackendHCL ¶
GetBackendHCL generate terraform backend config.
func (*BackendS3) GetRemoteStateHCL ¶
GetRemoteStateHCL generate terraform remote state for this backend.
Click to show internal directories.
Click to hide internal directories.