Documentation ¶
Index ¶
- type CertRequest
- func (cr *CertRequest) Attributes() certRequestAttributes
- func (cr *CertRequest) Configuration() interface{}
- func (cr *CertRequest) DependOn() terra.Reference
- func (cr *CertRequest) Dependencies() terra.Dependencies
- func (cr *CertRequest) ImportState(av io.Reader) error
- func (cr *CertRequest) LifecycleManagement() *terra.Lifecycle
- func (cr *CertRequest) LocalName() string
- func (cr *CertRequest) State() (*certRequestState, bool)
- func (cr *CertRequest) StateMust() *certRequestState
- func (cr *CertRequest) Type() string
- type CertRequestArgs
- type DataCertificate
- type DataCertificateArgs
- type DataPublicKey
- type DataPublicKeyArgs
- type LocallySignedCert
- func (lsc *LocallySignedCert) Attributes() locallySignedCertAttributes
- func (lsc *LocallySignedCert) Configuration() interface{}
- func (lsc *LocallySignedCert) DependOn() terra.Reference
- func (lsc *LocallySignedCert) Dependencies() terra.Dependencies
- func (lsc *LocallySignedCert) ImportState(av io.Reader) error
- func (lsc *LocallySignedCert) LifecycleManagement() *terra.Lifecycle
- func (lsc *LocallySignedCert) LocalName() string
- func (lsc *LocallySignedCert) State() (*locallySignedCertState, bool)
- func (lsc *LocallySignedCert) StateMust() *locallySignedCertState
- func (lsc *LocallySignedCert) Type() string
- type LocallySignedCertArgs
- type PrivateKey
- func (pk *PrivateKey) Attributes() privateKeyAttributes
- func (pk *PrivateKey) Configuration() interface{}
- func (pk *PrivateKey) DependOn() terra.Reference
- func (pk *PrivateKey) Dependencies() terra.Dependencies
- func (pk *PrivateKey) ImportState(av io.Reader) error
- func (pk *PrivateKey) LifecycleManagement() *terra.Lifecycle
- func (pk *PrivateKey) LocalName() string
- func (pk *PrivateKey) State() (*privateKeyState, bool)
- func (pk *PrivateKey) StateMust() *privateKeyState
- func (pk *PrivateKey) Type() string
- type PrivateKeyArgs
- type Provider
- type ProviderArgs
- type SelfSignedCert
- func (ssc *SelfSignedCert) Attributes() selfSignedCertAttributes
- func (ssc *SelfSignedCert) Configuration() interface{}
- func (ssc *SelfSignedCert) DependOn() terra.Reference
- func (ssc *SelfSignedCert) Dependencies() terra.Dependencies
- func (ssc *SelfSignedCert) ImportState(av io.Reader) error
- func (ssc *SelfSignedCert) LifecycleManagement() *terra.Lifecycle
- func (ssc *SelfSignedCert) LocalName() string
- func (ssc *SelfSignedCert) State() (*selfSignedCertState, bool)
- func (ssc *SelfSignedCert) StateMust() *selfSignedCertState
- func (ssc *SelfSignedCert) Type() string
- type SelfSignedCertArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertRequest ¶
type CertRequest struct { Name string Args CertRequestArgs DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
CertRequest represents the Terraform resource tls_cert_request.
func NewCertRequest ¶
func NewCertRequest(name string, args CertRequestArgs) *CertRequest
NewCertRequest creates a new instance of CertRequest.
func (*CertRequest) Attributes ¶
func (cr *CertRequest) Attributes() certRequestAttributes
Attributes returns the attributes for CertRequest.
func (*CertRequest) Configuration ¶
func (cr *CertRequest) Configuration() interface{}
Configuration returns the configuration (args) for CertRequest.
func (*CertRequest) DependOn ¶
func (cr *CertRequest) DependOn() terra.Reference
DependOn is used for other resources to depend on CertRequest.
func (*CertRequest) Dependencies ¶
func (cr *CertRequest) Dependencies() terra.Dependencies
Dependencies returns the list of resources CertRequest depends_on.
func (*CertRequest) ImportState ¶
func (cr *CertRequest) ImportState(av io.Reader) error
ImportState imports the given attribute values into CertRequest's state.
func (*CertRequest) LifecycleManagement ¶
func (cr *CertRequest) LifecycleManagement() *terra.Lifecycle
LifecycleManagement returns the lifecycle block for CertRequest.
func (*CertRequest) LocalName ¶
func (cr *CertRequest) LocalName() string
LocalName returns the local name for CertRequest.
func (*CertRequest) State ¶
func (cr *CertRequest) State() (*certRequestState, bool)
State returns the state and a bool indicating if CertRequest has state.
func (*CertRequest) StateMust ¶
func (cr *CertRequest) StateMust() *certRequestState
StateMust returns the state for CertRequest. Panics if the state is nil.
func (*CertRequest) Type ¶
func (cr *CertRequest) Type() string
Type returns the Terraform object type for CertRequest.
type CertRequestArgs ¶
type CertRequestArgs struct { // DnsNames: list of string, optional DnsNames terra.ListValue[terra.StringValue] `hcl:"dns_names,attr"` // IpAddresses: list of string, optional IpAddresses terra.ListValue[terra.StringValue] `hcl:"ip_addresses,attr"` // PrivateKeyPem: string, required PrivateKeyPem terra.StringValue `hcl:"private_key_pem,attr" validate:"required"` // Uris: list of string, optional Uris terra.ListValue[terra.StringValue] `hcl:"uris,attr"` // Subject: optional Subject *certrequest.Subject `hcl:"subject,block"` }
CertRequestArgs contains the configurations for tls_cert_request.
type DataCertificate ¶
type DataCertificate struct { Name string Args DataCertificateArgs }
DataCertificate represents the Terraform data resource tls_certificate.
func NewDataCertificate ¶
func NewDataCertificate(name string, args DataCertificateArgs) *DataCertificate
NewDataCertificate creates a new instance of DataCertificate.
func (*DataCertificate) Attributes ¶
func (c *DataCertificate) Attributes() dataCertificateAttributes
Attributes returns the attributes for DataCertificate.
func (*DataCertificate) Configuration ¶
func (c *DataCertificate) Configuration() interface{}
Configuration returns the configuration (args) for DataCertificate.
func (*DataCertificate) DataSource ¶
func (c *DataCertificate) DataSource() string
DataSource returns the Terraform object type for DataCertificate.
func (*DataCertificate) LocalName ¶
func (c *DataCertificate) LocalName() string
LocalName returns the local name for DataCertificate.
type DataCertificateArgs ¶
type DataCertificateArgs struct { // Content: string, optional Content terra.StringValue `hcl:"content,attr"` // Url: string, optional Url terra.StringValue `hcl:"url,attr"` // VerifyChain: bool, optional VerifyChain terra.BoolValue `hcl:"verify_chain,attr"` // Certificates: min=0 Certificates []datacertificate.Certificates `hcl:"certificates,block" validate:"min=0"` }
DataCertificateArgs contains the configurations for tls_certificate.
type DataPublicKey ¶
type DataPublicKey struct { Name string Args DataPublicKeyArgs }
DataPublicKey represents the Terraform data resource tls_public_key.
func NewDataPublicKey ¶
func NewDataPublicKey(name string, args DataPublicKeyArgs) *DataPublicKey
NewDataPublicKey creates a new instance of DataPublicKey.
func (*DataPublicKey) Attributes ¶
func (pk *DataPublicKey) Attributes() dataPublicKeyAttributes
Attributes returns the attributes for DataPublicKey.
func (*DataPublicKey) Configuration ¶
func (pk *DataPublicKey) Configuration() interface{}
Configuration returns the configuration (args) for DataPublicKey.
func (*DataPublicKey) DataSource ¶
func (pk *DataPublicKey) DataSource() string
DataSource returns the Terraform object type for DataPublicKey.
func (*DataPublicKey) LocalName ¶
func (pk *DataPublicKey) LocalName() string
LocalName returns the local name for DataPublicKey.
type DataPublicKeyArgs ¶
type DataPublicKeyArgs struct { // PrivateKeyOpenssh: string, optional PrivateKeyOpenssh terra.StringValue `hcl:"private_key_openssh,attr"` // PrivateKeyPem: string, optional PrivateKeyPem terra.StringValue `hcl:"private_key_pem,attr"` }
DataPublicKeyArgs contains the configurations for tls_public_key.
type LocallySignedCert ¶
type LocallySignedCert struct { Name string Args LocallySignedCertArgs DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
LocallySignedCert represents the Terraform resource tls_locally_signed_cert.
func NewLocallySignedCert ¶
func NewLocallySignedCert(name string, args LocallySignedCertArgs) *LocallySignedCert
NewLocallySignedCert creates a new instance of LocallySignedCert.
func (*LocallySignedCert) Attributes ¶
func (lsc *LocallySignedCert) Attributes() locallySignedCertAttributes
Attributes returns the attributes for LocallySignedCert.
func (*LocallySignedCert) Configuration ¶
func (lsc *LocallySignedCert) Configuration() interface{}
Configuration returns the configuration (args) for LocallySignedCert.
func (*LocallySignedCert) DependOn ¶
func (lsc *LocallySignedCert) DependOn() terra.Reference
DependOn is used for other resources to depend on LocallySignedCert.
func (*LocallySignedCert) Dependencies ¶
func (lsc *LocallySignedCert) Dependencies() terra.Dependencies
Dependencies returns the list of resources LocallySignedCert depends_on.
func (*LocallySignedCert) ImportState ¶
func (lsc *LocallySignedCert) ImportState(av io.Reader) error
ImportState imports the given attribute values into LocallySignedCert's state.
func (*LocallySignedCert) LifecycleManagement ¶
func (lsc *LocallySignedCert) LifecycleManagement() *terra.Lifecycle
LifecycleManagement returns the lifecycle block for LocallySignedCert.
func (*LocallySignedCert) LocalName ¶
func (lsc *LocallySignedCert) LocalName() string
LocalName returns the local name for LocallySignedCert.
func (*LocallySignedCert) State ¶
func (lsc *LocallySignedCert) State() (*locallySignedCertState, bool)
State returns the state and a bool indicating if LocallySignedCert has state.
func (*LocallySignedCert) StateMust ¶
func (lsc *LocallySignedCert) StateMust() *locallySignedCertState
StateMust returns the state for LocallySignedCert. Panics if the state is nil.
func (*LocallySignedCert) Type ¶
func (lsc *LocallySignedCert) Type() string
Type returns the Terraform object type for LocallySignedCert.
type LocallySignedCertArgs ¶
type LocallySignedCertArgs struct { // AllowedUses: list of string, required AllowedUses terra.ListValue[terra.StringValue] `hcl:"allowed_uses,attr" validate:"required"` // CaCertPem: string, required CaCertPem terra.StringValue `hcl:"ca_cert_pem,attr" validate:"required"` // CaPrivateKeyPem: string, required CaPrivateKeyPem terra.StringValue `hcl:"ca_private_key_pem,attr" validate:"required"` // CertRequestPem: string, required CertRequestPem terra.StringValue `hcl:"cert_request_pem,attr" validate:"required"` // EarlyRenewalHours: number, optional EarlyRenewalHours terra.NumberValue `hcl:"early_renewal_hours,attr"` // IsCaCertificate: bool, optional IsCaCertificate terra.BoolValue `hcl:"is_ca_certificate,attr"` // SetSubjectKeyId: bool, optional SetSubjectKeyId terra.BoolValue `hcl:"set_subject_key_id,attr"` // ValidityPeriodHours: number, required ValidityPeriodHours terra.NumberValue `hcl:"validity_period_hours,attr" validate:"required"` }
LocallySignedCertArgs contains the configurations for tls_locally_signed_cert.
type PrivateKey ¶
type PrivateKey struct { Name string Args PrivateKeyArgs DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
PrivateKey represents the Terraform resource tls_private_key.
func NewPrivateKey ¶
func NewPrivateKey(name string, args PrivateKeyArgs) *PrivateKey
NewPrivateKey creates a new instance of PrivateKey.
func (*PrivateKey) Attributes ¶
func (pk *PrivateKey) Attributes() privateKeyAttributes
Attributes returns the attributes for PrivateKey.
func (*PrivateKey) Configuration ¶
func (pk *PrivateKey) Configuration() interface{}
Configuration returns the configuration (args) for PrivateKey.
func (*PrivateKey) DependOn ¶
func (pk *PrivateKey) DependOn() terra.Reference
DependOn is used for other resources to depend on PrivateKey.
func (*PrivateKey) Dependencies ¶
func (pk *PrivateKey) Dependencies() terra.Dependencies
Dependencies returns the list of resources PrivateKey depends_on.
func (*PrivateKey) ImportState ¶
func (pk *PrivateKey) ImportState(av io.Reader) error
ImportState imports the given attribute values into PrivateKey's state.
func (*PrivateKey) LifecycleManagement ¶
func (pk *PrivateKey) LifecycleManagement() *terra.Lifecycle
LifecycleManagement returns the lifecycle block for PrivateKey.
func (*PrivateKey) LocalName ¶
func (pk *PrivateKey) LocalName() string
LocalName returns the local name for PrivateKey.
func (*PrivateKey) State ¶
func (pk *PrivateKey) State() (*privateKeyState, bool)
State returns the state and a bool indicating if PrivateKey has state.
func (*PrivateKey) StateMust ¶
func (pk *PrivateKey) StateMust() *privateKeyState
StateMust returns the state for PrivateKey. Panics if the state is nil.
func (*PrivateKey) Type ¶
func (pk *PrivateKey) Type() string
Type returns the Terraform object type for PrivateKey.
type PrivateKeyArgs ¶
type PrivateKeyArgs struct { // Algorithm: string, required Algorithm terra.StringValue `hcl:"algorithm,attr" validate:"required"` // EcdsaCurve: string, optional EcdsaCurve terra.StringValue `hcl:"ecdsa_curve,attr"` // RsaBits: number, optional RsaBits terra.NumberValue `hcl:"rsa_bits,attr"` }
PrivateKeyArgs contains the configurations for tls_private_key.
type Provider ¶
type Provider struct {
Args ProviderArgs
}
func NewProvider ¶
func NewProvider(args ProviderArgs) *Provider
func (*Provider) Configuration ¶
func (p *Provider) Configuration() interface{}
Configuration returns the configuration (args) for Provider.
type ProviderArgs ¶
ProviderArgs contains the configurations for provider.
type SelfSignedCert ¶
type SelfSignedCert struct { Name string Args SelfSignedCertArgs DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
SelfSignedCert represents the Terraform resource tls_self_signed_cert.
func NewSelfSignedCert ¶
func NewSelfSignedCert(name string, args SelfSignedCertArgs) *SelfSignedCert
NewSelfSignedCert creates a new instance of SelfSignedCert.
func (*SelfSignedCert) Attributes ¶
func (ssc *SelfSignedCert) Attributes() selfSignedCertAttributes
Attributes returns the attributes for SelfSignedCert.
func (*SelfSignedCert) Configuration ¶
func (ssc *SelfSignedCert) Configuration() interface{}
Configuration returns the configuration (args) for SelfSignedCert.
func (*SelfSignedCert) DependOn ¶
func (ssc *SelfSignedCert) DependOn() terra.Reference
DependOn is used for other resources to depend on SelfSignedCert.
func (*SelfSignedCert) Dependencies ¶
func (ssc *SelfSignedCert) Dependencies() terra.Dependencies
Dependencies returns the list of resources SelfSignedCert depends_on.
func (*SelfSignedCert) ImportState ¶
func (ssc *SelfSignedCert) ImportState(av io.Reader) error
ImportState imports the given attribute values into SelfSignedCert's state.
func (*SelfSignedCert) LifecycleManagement ¶
func (ssc *SelfSignedCert) LifecycleManagement() *terra.Lifecycle
LifecycleManagement returns the lifecycle block for SelfSignedCert.
func (*SelfSignedCert) LocalName ¶
func (ssc *SelfSignedCert) LocalName() string
LocalName returns the local name for SelfSignedCert.
func (*SelfSignedCert) State ¶
func (ssc *SelfSignedCert) State() (*selfSignedCertState, bool)
State returns the state and a bool indicating if SelfSignedCert has state.
func (*SelfSignedCert) StateMust ¶
func (ssc *SelfSignedCert) StateMust() *selfSignedCertState
StateMust returns the state for SelfSignedCert. Panics if the state is nil.
func (*SelfSignedCert) Type ¶
func (ssc *SelfSignedCert) Type() string
Type returns the Terraform object type for SelfSignedCert.
type SelfSignedCertArgs ¶
type SelfSignedCertArgs struct { // AllowedUses: list of string, required AllowedUses terra.ListValue[terra.StringValue] `hcl:"allowed_uses,attr" validate:"required"` // DnsNames: list of string, optional DnsNames terra.ListValue[terra.StringValue] `hcl:"dns_names,attr"` // EarlyRenewalHours: number, optional EarlyRenewalHours terra.NumberValue `hcl:"early_renewal_hours,attr"` // IpAddresses: list of string, optional IpAddresses terra.ListValue[terra.StringValue] `hcl:"ip_addresses,attr"` // IsCaCertificate: bool, optional IsCaCertificate terra.BoolValue `hcl:"is_ca_certificate,attr"` // PrivateKeyPem: string, required PrivateKeyPem terra.StringValue `hcl:"private_key_pem,attr" validate:"required"` // SetAuthorityKeyId: bool, optional SetAuthorityKeyId terra.BoolValue `hcl:"set_authority_key_id,attr"` // SetSubjectKeyId: bool, optional SetSubjectKeyId terra.BoolValue `hcl:"set_subject_key_id,attr"` // Uris: list of string, optional Uris terra.ListValue[terra.StringValue] `hcl:"uris,attr"` // ValidityPeriodHours: number, required ValidityPeriodHours terra.NumberValue `hcl:"validity_period_hours,attr" validate:"required"` // Subject: optional Subject *selfsignedcert.Subject `hcl:"subject,block"` }
SelfSignedCertArgs contains the configurations for tls_self_signed_cert.