Documentation ¶
Index ¶
- Constants
- Variables
- func MultiEnvDefaultFunc(ks []string, def any) any
- func MuxedProviderFactory() func() tfprotov6.ProviderServer
- func NewFrameworkProvider() provider.Provider
- func NewSdkV2Provider() *schema.Provider
- type MongodbtlasProvider
- func (p *MongodbtlasProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *MongodbtlasProvider) DataSources(context.Context) []func() datasource.DataSource
- func (p *MongodbtlasProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *MongodbtlasProvider) Resources(context.Context) []func() resource.Resource
- func (p *MongodbtlasProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type SecretData
Constants ¶
View Source
const ( MongodbGovCloudURL = "https://cloud.mongodbgov.com" ProviderConfigError = "error in configuring the provider." MissingAuthAttrError = "either Atlas Programmatic API Keys or AWS Secrets Manager attributes must be set" )
Variables ¶
View Source
var AssumeRoleType = types.ObjectType{AttrTypes: map[string]attr.Type{ "policy_arns": types.SetType{ElemType: types.StringType}, "transitive_tag_keys": types.SetType{ElemType: types.StringType}, "tags": types.MapType{ElemType: types.StringType}, "duration": types.StringType, "external_id": types.StringType, "policy": types.StringType, "role_arn": types.StringType, "session_name": types.StringType, "source_identity": types.StringType, }}
View Source
var (
ProviderEnableBeta, _ = strconv.ParseBool(os.Getenv("MONGODB_ATLAS_ENABLE_BETA"))
)
Functions ¶
func MultiEnvDefaultFunc ¶
func MuxedProviderFactory ¶
func MuxedProviderFactory() func() tfprotov6.ProviderServer
func NewFrameworkProvider ¶
func NewSdkV2Provider ¶
NewSdkV2Provider returns the provider to be use by the code.
Types ¶
type MongodbtlasProvider ¶
type MongodbtlasProvider struct{}
func (*MongodbtlasProvider) Configure ¶
func (p *MongodbtlasProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*MongodbtlasProvider) DataSources ¶
func (p *MongodbtlasProvider) DataSources(context.Context) []func() datasource.DataSource
func (*MongodbtlasProvider) Metadata ¶
func (p *MongodbtlasProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*MongodbtlasProvider) Resources ¶
func (p *MongodbtlasProvider) Resources(context.Context) []func() resource.Resource
func (*MongodbtlasProvider) Schema ¶
func (p *MongodbtlasProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type SecretData ¶
Click to show internal directories.
Click to hide internal directories.