Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure timestreaminfluxdb resource and add example #1581

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apis/zz_register.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions config/externalname.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ var TerraformPluginFrameworkExternalNameConfigs = map[string]config.ExternalName
// SimpleDB Domains can be imported using the name
"aws_simpledb_domain": config.NameAsIdentifier,

// timestreaminfluxdb
//
// InfluxDB Database can be imported using the database id
"aws_timestreaminfluxdb_db_instance": config.IdentifierFromProvider,

// ********** When adding new services please keep them alphabetized by their aws go sdk package name **********
}

Expand Down
1 change: 1 addition & 0 deletions config/generated.lst
Original file line number Diff line number Diff line change
Expand Up @@ -888,6 +888,7 @@
"aws_ssoadmin_permissions_boundary_attachment",
"aws_subnet",
"aws_swf_domain",
"aws_timestreaminfluxdb_db_instance",
"aws_timestreamwrite_database",
"aws_timestreamwrite_table",
"aws_transcribe_language_model",
Expand Down
25 changes: 25 additions & 0 deletions examples/timestreaminfluxdb/v1beta1/dbinstance.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: timestreaminfluxdb.aws.upbound.io/v1beta1
kind: DBInstance
metadata:
annotations:
meta.upbound.io/example-id: timestreaminfluxdb/v1beta1/dbinstance
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
allocatedStorage: 20
bucket: example-bucket-name
dbInstanceType: db.influx.medium
name: example-db-instance
organization: organization
passwordSecretRef:
key: example-key
name: example-secret
namespace: upbound-system
region: us-west-1
username: admin
vpcSecurityGroupIdRefs:
- name: example
vpcSubnetIds:
- ${aws_subnet.exampleid}
2 changes: 2 additions & 0 deletions internal/controller/zz_monolith_setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,7 @@ import (
permissionset "github.com/upbound/provider-aws/internal/controller/ssoadmin/permissionset"
permissionsetinlinepolicy "github.com/upbound/provider-aws/internal/controller/ssoadmin/permissionsetinlinepolicy"
domainswf "github.com/upbound/provider-aws/internal/controller/swf/domain"
dbinstance "github.com/upbound/provider-aws/internal/controller/timestreaminfluxdb/dbinstance"
databasetimestreamwrite "github.com/upbound/provider-aws/internal/controller/timestreamwrite/database"
tabletimestreamwrite "github.com/upbound/provider-aws/internal/controller/timestreamwrite/table"
languagemodel "github.com/upbound/provider-aws/internal/controller/transcribe/languagemodel"
Expand Down Expand Up @@ -1892,6 +1893,7 @@ func Setup_monolith(mgr ctrl.Manager, o controller.Options) error {
permissionset.Setup,
permissionsetinlinepolicy.Setup,
domainswf.Setup,
dbinstance.Setup,
databasetimestreamwrite.Setup,
tabletimestreamwrite.Setup,
languagemodel.Setup,
Expand Down
Loading