Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendGCS ¶
type BackendGCS struct { Bucket string `yaml:"bucket"` Credentials string `yaml:"credentials,omitempty"` ImpersonateServiceAccount string `yaml:"impersonate_service_account,omitempty"` AccessToken string `yaml:"access_token,omitempty"` EncryptionKey string `yaml:"encryption_key,omitempty"` Prefix string `yaml:"prefix"` // contains filtered or unexported fields }
BackendGCS - describe s3 backend for interface package.backend.
func (*BackendGCS) GetBackendHCL ¶
func (b *BackendGCS) GetBackendHCL(infraName, moduleName string) ([]byte, error)
GetBackendHCL generate terraform backend config.
func (*BackendGCS) GetRemoteStateHCL ¶
func (b *BackendGCS) GetRemoteStateHCL(infraName, moduleName string) ([]byte, error)
GetRemoteStateHCL generate terraform remote state for this backend.
func (*BackendGCS) State ¶
func (b *BackendGCS) State() map[string]interface{}
Click to show internal directories.
Click to hide internal directories.