diff --git a/providers/provider-aws-config.yaml b/providers/provider-aws-config.yaml new file mode 100644 index 0000000..3ab470f --- /dev/null +++ b/providers/provider-aws-config.yaml @@ -0,0 +1,12 @@ +--- +apiVersion: aws.upbound.io/v1beta1 +kind: ProviderConfig +metadata: + name: default +spec: + credentials: + source: Secret + secretRef: + namespace: crossplane-system + name: aws-secret + key: creds diff --git a/provider-aws-s3.yaml b/providers/provider-aws-s3.yaml similarity index 100% rename from provider-aws-s3.yaml rename to providers/provider-aws-s3.yaml diff --git a/services/s3/bucket.yaml b/services/s3/bucket.yaml new file mode 100644 index 0000000..276a662 --- /dev/null +++ b/services/s3/bucket.yaml @@ -0,0 +1,15 @@ +--- +apiVersion: s3.aws.upbound.io/v1beta1 +kind: Bucket +metadata: + name: app1-bucket-mathod + namespace: crossplane-system +spec: + forProvider: + region: eu-west-3 + tags: + company: mathod + project: app1 + environment: production + providerConfigRef: + name: default \ No newline at end of file