aws

package
v1.8.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2025 License: Apache-2.0 Imports: 52 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAWSDataplaneResource

func NewAWSDataplaneResource() resource.Resource

func UpdateDeploymentConfig

func UpdateDeploymentConfig(ctx context.Context, cfg aws.Config, dp awsconfig.AWSDataplane) (diags diag.Diagnostics)

func UpdateVaultUserSecret added in v1.7.8

func UpdateVaultUserSecret(ctx context.Context, cfg aws.Config, dp awsconfig.AWSDataplane) (diags diag.Diagnostics)

Setup vault postgres user secret with username as vault_user_{{infraID}} Note that password will be empty as vault user is using RDS IAM for authentication

Types

type AWSDataplaneResource

type AWSDataplaneResource struct {
	// contains filtered or unexported fields
}

func (*AWSDataplaneResource) Configure

func (*AWSDataplaneResource) Create

Create implements resource.Resource.

func (*AWSDataplaneResource) Delete

func (*AWSDataplaneResource) Metadata

func (*AWSDataplaneResource) Read

func (*AWSDataplaneResource) Schema

Schema implements resource.Resource.

func (*AWSDataplaneResource) Update

type Auth0

type Auth0 struct {
	Audience string `json:"audience"`
	Domain   string `json:"domain"`
	ClientId string `json:"clientId"`
}

type Auth0TrialMgmt added in v1.5.0

type Auth0TrialMgmt struct {
	Domain         string `json:"domain"`
	ClientId       string `json:"clientId"`
	ClientSecret   string `json:"clientSecret"`
	ConnectionName string `json:"connectionName"`
}

type DSSecrets

type DSSecrets struct {
	GoogleClientID      string         `json:"googleClientID"`
	GoogleClientSecret  string         `json:"googleClientSecret"`
	PagerdutyServiceKey string         `json:"pagerdutyServiceKey"`
	Auth0Api            Auth0          `json:"auth0api"`
	Auth0Cli            Auth0          `json:"auth0cli"`
	Auth0TrialMgmt      Auth0TrialMgmt `json:"auth0TrialMgmt"`
	SendgridApiKey      string         `json:"sendgridApiKey"`
	PostHogPublicId     string         `json:"posthogPublicID"`
	Tailscale           Tailscale      `json:"tailscale"`
	TrialConfig         TrialConfig    `json:"trialConfig"`
}

type PostgresCredSecret

type PostgresCredSecret struct {
	Username      string `json:"username"`
	Password      string `json:"password"`
	AwsSecretName string
}

type PostgresHostConfig

type PostgresHostConfig struct {
	Host     string
	Port     int
	Database string
}

type Tailscale added in v1.2.0

type Tailscale struct {
	ClientId     string `json:"clientId"`
	ClientSecret string `json:"clientSecret"`
}

type TrialConfig added in v1.2.9

type TrialConfig struct {
	TrialStoreRegion            string `json:"trialStoreRegion"`
	TrialStoreSQSUrl            string `json:"trialStoreSQSUrl"`
	TrialStoreSQSRegion         string `json:"trialStoreSQSRegion"`
	TrialStoreKafkaUri          string `json:"trialStoreKafkaUri"`
	TrialStoreHashFunction      string `json:"trialStoreHashFunction"`
	TrialStoreClusterTopicArn   string `json:"trialStoreClusterTopicArn"`
	TrialStoreClusterIamRoleArn string `json:"trialStoreClusterIamRoleArn"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL