-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from cycloidio/lo-add-eb-default
provider: add external backend resource
- Loading branch information
Showing
9 changed files
with
2,618 additions
and
1,332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "cycloid_external_backend Resource - terraform-provider-cycloid" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# cycloid_external_backend (Resource) | ||
|
||
|
||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `engine` (String) | ||
- `purpose` (String) | ||
|
||
### Optional | ||
|
||
- `aws_storage` (Attributes) Representation of AWS storage for external backend. | ||
Must be matched with a credential of the "aws" type. (see [below for nested schema](#nestedatt--aws_storage)) | ||
- `credential_canonical` (String) The type of the credential must be one of: ["aws", "gcp", "swift"] | ||
- `default` (Boolean) Will mark this EB as default for the specific purpose | ||
- `environment_canonical` (String) | ||
- `external_backend_id` (Number) External Backend ID | ||
- `gcp_storage` (Attributes) Representation of GCP remote tf state for external backend. | ||
Must be matched with a credential of the "gcp" type. (see [below for nested schema](#nestedatt--gcp_storage)) | ||
- `organization_canonical` (String) A canonical of an organization. | ||
- `project_canonical` (String) | ||
- `swift_storage` (Attributes) Representation of Swift remote tf state for external backend. | ||
Must be matched with a credential of the "swift" type. (see [below for nested schema](#nestedatt--swift_storage)) | ||
|
||
<a id="nestedatt--aws_storage"></a> | ||
### Nested Schema for `aws_storage` | ||
|
||
Optional: | ||
|
||
- `bucket` (String) The AWS bucket containing objects | ||
- `endpoint` (String) A custom endpoint for the S3 API (default: s3.amazonaws.com) | ||
- `key` (String) The S3 Key uniquely identifies an object in a bucket | ||
- `region` (String) The AWS region where the resource exists | ||
- `s3_force_path_style` (Boolean) Always use path-style S3 URLs (https://<HOST>/<BUCKET> instead of https://<BUCKET>.<HOST>) | ||
- `skip_verify_ssl` (Boolean) Set this to `true` to not verify SSL certificates | ||
|
||
|
||
<a id="nestedatt--gcp_storage"></a> | ||
### Nested Schema for `gcp_storage` | ||
|
||
Optional: | ||
|
||
- `bucket` (String) The GCP bucket containing objects | ||
- `object` (String) The GCP object uniquely identifying an object in a bucket, | ||
will be required if the EB is not default | ||
|
||
|
||
<a id="nestedatt--swift_storage"></a> | ||
### Nested Schema for `swift_storage` | ||
|
||
Optional: | ||
|
||
- `container` (String) The Swift container containing objects | ||
- `object` (String) The swift object uniquely identifying an object in a container, | ||
will be required if the EB is not default | ||
- `region` (String) The Swift region where the resource exists | ||
- `skip_verify_ssl` (Boolean) Set this to `true` to not verify SSL certificates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,81 @@ | ||
module github.com/cycloidio/terraform-provider-cycloid | ||
|
||
go 1.21.5 | ||
go 1.22 | ||
|
||
toolchain go1.22.1 | ||
|
||
require ( | ||
github.com/cycloidio/cycloid-cli v1.0.98-0.20240314113358-3129ff260090 | ||
github.com/gogo/protobuf v1.3.2 | ||
github.com/cycloidio/cycloid-cli v1.0.98-0.20240416131108-4c54dd7506a2 | ||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc | ||
github.com/hashicorp/terraform-plugin-framework v1.4.2 | ||
github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 | ||
github.com/hashicorp/terraform-plugin-go v0.20.0 | ||
github.com/hashicorp/terraform-plugin-log v0.9.0 | ||
) | ||
|
||
require ( | ||
github.com/PuerkitoBio/purell v1.1.1 // indirect | ||
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect | ||
github.com/adrg/xdg v0.4.0 // indirect | ||
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/fatih/color v1.13.0 // indirect | ||
github.com/fsnotify/fsnotify v1.5.1 // indirect | ||
github.com/go-openapi/analysis v0.21.2 // indirect | ||
github.com/go-openapi/errors v0.20.2 // indirect | ||
github.com/go-openapi/jsonpointer v0.19.5 // indirect | ||
github.com/go-openapi/jsonreference v0.19.6 // indirect | ||
github.com/go-openapi/loads v0.21.1 // indirect | ||
github.com/go-openapi/runtime v0.23.1 // indirect | ||
github.com/go-openapi/spec v0.20.4 // indirect | ||
github.com/go-openapi/strfmt v0.21.2 // indirect | ||
github.com/go-openapi/swag v0.21.1 // indirect | ||
github.com/go-openapi/validate v0.21.0 // indirect | ||
github.com/go-stack/stack v1.8.1 // indirect | ||
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect | ||
github.com/fatih/color v1.14.1 // indirect | ||
github.com/fsnotify/fsnotify v1.7.0 // indirect | ||
github.com/go-logr/logr v1.4.1 // indirect | ||
github.com/go-logr/stdr v1.2.2 // indirect | ||
github.com/go-openapi/analysis v0.23.0 // indirect | ||
github.com/go-openapi/errors v0.22.0 // indirect | ||
github.com/go-openapi/jsonpointer v0.21.0 // indirect | ||
github.com/go-openapi/jsonreference v0.21.0 // indirect | ||
github.com/go-openapi/loads v0.22.0 // indirect | ||
github.com/go-openapi/runtime v0.28.0 // indirect | ||
github.com/go-openapi/spec v0.21.0 // indirect | ||
github.com/go-openapi/strfmt v0.23.0 // indirect | ||
github.com/go-openapi/swag v0.23.0 // indirect | ||
github.com/go-openapi/validate v0.24.0 // indirect | ||
github.com/golang/protobuf v1.5.3 // indirect | ||
github.com/google/uuid v1.6.0 // indirect | ||
github.com/hashicorp/go-hclog v1.5.0 // indirect | ||
github.com/hashicorp/go-plugin v1.6.0 // indirect | ||
github.com/hashicorp/go-uuid v1.0.3 // indirect | ||
github.com/hashicorp/hcl v1.0.0 // indirect | ||
github.com/hashicorp/terraform-registry-address v0.2.3 // indirect | ||
github.com/hashicorp/terraform-svchost v0.1.1 // indirect | ||
github.com/hashicorp/yamux v0.1.1 // indirect | ||
github.com/inconshreveable/mousetrap v1.0.0 // indirect | ||
github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
github.com/josharian/intern v1.0.0 // indirect | ||
github.com/magiconair/properties v1.8.5 // indirect | ||
github.com/magiconair/properties v1.8.7 // indirect | ||
github.com/mailru/easyjson v0.7.7 // indirect | ||
github.com/mattn/go-colorable v0.1.12 // indirect | ||
github.com/mattn/go-isatty v0.0.14 // indirect | ||
github.com/mattn/go-runewidth v0.0.9 // indirect | ||
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-isatty v0.0.17 // indirect | ||
github.com/mitchellh/go-testing-interface v1.14.1 // indirect | ||
github.com/mitchellh/mapstructure v1.4.3 // indirect | ||
github.com/mitchellh/mapstructure v1.5.0 // indirect | ||
github.com/oklog/run v1.0.0 // indirect | ||
github.com/oklog/ulid v1.3.1 // indirect | ||
github.com/olekukonko/tablewriter v0.0.5 // indirect | ||
github.com/opentracing/opentracing-go v1.2.0 // indirect | ||
github.com/pelletier/go-toml v1.9.4 // indirect | ||
github.com/pelletier/go-toml/v2 v2.2.1 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/spf13/afero v1.6.0 // indirect | ||
github.com/spf13/cast v1.4.1 // indirect | ||
github.com/spf13/cobra v1.3.0 // indirect | ||
github.com/spf13/jwalterweatherman v1.1.0 // indirect | ||
github.com/sagikazarmark/locafero v0.4.0 // indirect | ||
github.com/sagikazarmark/slog-shim v0.1.0 // indirect | ||
github.com/sourcegraph/conc v0.3.0 // indirect | ||
github.com/spf13/afero v1.11.0 // indirect | ||
github.com/spf13/cast v1.6.0 // indirect | ||
github.com/spf13/cobra v1.8.0 // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
github.com/spf13/viper v1.10.1 // indirect | ||
github.com/subosito/gotenv v1.2.0 // indirect | ||
github.com/spf13/viper v1.18.2 // indirect | ||
github.com/subosito/gotenv v1.6.0 // indirect | ||
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect | ||
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect | ||
go.mongodb.org/mongo-driver v1.8.3 // indirect | ||
golang.org/x/net v0.17.0 // indirect | ||
golang.org/x/sys v0.13.0 // indirect | ||
golang.org/x/text v0.13.0 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97 // indirect | ||
go.mongodb.org/mongo-driver v1.15.0 // indirect | ||
go.opentelemetry.io/otel v1.25.0 // indirect | ||
go.opentelemetry.io/otel/metric v1.25.0 // indirect | ||
go.opentelemetry.io/otel/trace v1.25.0 // indirect | ||
go.uber.org/multierr v1.11.0 // indirect | ||
golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f // indirect | ||
golang.org/x/net v0.24.0 // indirect | ||
golang.org/x/sync v0.7.0 // indirect | ||
golang.org/x/sys v0.19.0 // indirect | ||
golang.org/x/text v0.14.0 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f // indirect | ||
google.golang.org/grpc v1.60.0 // indirect | ||
google.golang.org/protobuf v1.31.0 // indirect | ||
gopkg.in/ini.v1 v1.66.2 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
gopkg.in/ini.v1 v1.67.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
Oops, something went wrong.