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

chore: Update references #11

Merged
merged 1 commit into from
Oct 15, 2024
Merged
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
4 changes: 2 additions & 2 deletions DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The configuration should look similar to this:
```hcl
provider_installation {
dev_overrides {
"SAP/cloudfoundry" = "/path/to/go/bin" # the GOBIN directory can be found in the folder which `go env GOPATH` returns
"cloudfoundry/cloudfoundry" = "/path/to/go/bin" # the GOBIN directory can be found in the folder which `go env GOPATH` returns
}
direct {}
Expand Down Expand Up @@ -90,7 +90,7 @@ If the setup was successful you should see the following message:
│ Warning: Provider development overrides are in effect
│ The following provider development overrides are set in the CLI configuration:
│ - SAP/cloudfoundry in /go/bin
│ - cloudfoundry/cloudfoundry in /go/bin
│ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases.
Expand Down
2 changes: 1 addition & 1 deletion assets/provider-config-local.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
provider_installation {
dev_overrides {
"SAP/cloudfoundry" = "/go/bin"
"cloudfoundry/cloudfoundry" = "/go/bin"
}

direct {}
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The Cloud Foundry Terraform plugin is an integration that allows users to levera
terraform {
required_providers {
cloudfoundry = {
source = "SAP/cloudfoundry"
source = "cloudfoundry/cloudfoundry"
version = "1.0.0-rc1"
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/app.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Provides a Cloud Foundry resource to manage applications.
terraform {
required_providers {
cloudfoundry = {
source = "sap/cloudfoundry"
source = "cloudfoundry/cloudfoundry"
}
zipper = {
source = "ArthurHlt/zipper"
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/org_quota.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Provides a Cloud Foundry resource to manage org quota definitions.
terraform {
required_providers {
cloudfoundry = {
source = "SAP/cloudfoundry"
source = "cloudfoundry/cloudfoundry"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/provider/provider.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
cloudfoundry = {
source = "SAP/cloudfoundry"
source = "cloudfoundry/cloudfoundry"
version = "1.0.0-rc1"
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/cloudfoundry_app/resource.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
cloudfoundry = {
source = "sap/cloudfoundry"
source = "cloudfoundry/cloudfoundry"
}
zipper = {
source = "ArthurHlt/zipper"
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/cloudfoundry_org_quota/resource.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
cloudfoundry = {
source = "SAP/cloudfoundry"
source = "cloudfoundry/cloudfoundry"
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions internal/provider/fixtures/resource_mta_invalid_mta_path.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ interactions:
host: deploy-service.x.x.x.x.com
remote_addr: ""
request_uri: ""
body: "--0c9d831b4dbdff020fb6b3042db286630dd7e319fc7637a67990119b2f46\r\nContent-Disposition: form-data; name=\"file\"; filename=\"provider-config-local.txt\"\r\nContent-Type: application/octet-stream\r\n\r\nprovider_installation {\n dev_overrides {\n \"SAP/cloudfoundry\" = \"/go/bin\"\n }\n\n direct {}\n}\r\n--0c9d831b4dbdff020fb6b3042db286630dd7e319fc7637a67990119b2f46--\r\n"
body: "--0c9d831b4dbdff020fb6b3042db286630dd7e319fc7637a67990119b2f46\r\nContent-Disposition: form-data; name=\"file\"; filename=\"provider-config-local.txt\"\r\nContent-Type: application/octet-stream\r\n\r\nprovider_installation {\n dev_overrides {\n \"cloudfoundry/cloudfoundry\" = \"/go/bin\"\n }\n\n direct {}\n}\r\n--0c9d831b4dbdff020fb6b3042db286630dd7e319fc7637a67990119b2f46--\r\n"
form: {}
headers:
Authorization:
Expand Down Expand Up @@ -582,7 +582,7 @@ interactions:
host: deploy-service.x.x.x.x.com
remote_addr: ""
request_uri: ""
body: "--15e976bca81b9af843b9c73f3c865c3bebfb8a4a8d40d8ad5f3432708763\r\nContent-Disposition: form-data; name=\"file\"; filename=\"provider-config-local.txt\"\r\nContent-Type: application/octet-stream\r\n\r\nprovider_installation {\n dev_overrides {\n \"SAP/cloudfoundry\" = \"/go/bin\"\n }\n\n direct {}\n}\r\n--15e976bca81b9af843b9c73f3c865c3bebfb8a4a8d40d8ad5f3432708763--\r\n"
body: "--15e976bca81b9af843b9c73f3c865c3bebfb8a4a8d40d8ad5f3432708763\r\nContent-Disposition: form-data; name=\"file\"; filename=\"provider-config-local.txt\"\r\nContent-Type: application/octet-stream\r\n\r\nprovider_installation {\n dev_overrides {\n \"cloudfoundry/cloudfoundry\" = \"/go/bin\"\n }\n\n direct {}\n}\r\n--15e976bca81b9af843b9c73f3c865c3bebfb8a4a8d40d8ad5f3432708763--\r\n"
form: {}
headers:
Authorization:
Expand Down Expand Up @@ -853,7 +853,7 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
body: '{"processId":"95cc8835-549e-11ef-9de9-eeee0a88e5d6","processType":"DEPLOY","startedAt":"2024-08-07T09:22:37.625Z[UTC]","endedAt":"2024-08-07T09:32:35.363Z[UTC]","spaceId":"02c0cc92-6ecc-44b1-b7b2-096ca19ee143","mtaId":"a.cf.app","user":"[email protected]","acquiredLock":false,"state":"ABORTED","messages":[{"id":211713866,"text":"Operation ID: 95cc8835-549e-11ef-9de9-eeee0a88e5d6","timestamp":"2024-08-07T09:22:36.658Z[UTC]","type":"INFO"},{"id":211713880,"text":"Deploying in org \"PerformanceTeamBLR\" and space \"tf-space-1\"","timestamp":"2024-08-07T09:22:44.635Z[UTC]","type":"INFO"},{"id":211713899,"text":"Error processing MTA extension descriptors: org.cloudfoundry.multiapps.controller.persistence.services.FileStorageException: org.cloudfoundry.multiapps.common.ParsingException: Error while parsing YAML string: \nprovider_installation {\n dev_overrides {\n \"SAP/cloudfoundry\" = \"/go/bin\"\n }\n\n direct {}\n}\nclass java.lang.String cannot be cast to class java.util.Map (java.lang.String and java.util.Map are in module java.base of loader ''bootstrap'') ","timestamp":"2024-08-07T09:23:07.645Z[UTC]","type":"ERROR"}],"parameters":{}}'
body: '{"processId":"95cc8835-549e-11ef-9de9-eeee0a88e5d6","processType":"DEPLOY","startedAt":"2024-08-07T09:22:37.625Z[UTC]","endedAt":"2024-08-07T09:32:35.363Z[UTC]","spaceId":"02c0cc92-6ecc-44b1-b7b2-096ca19ee143","mtaId":"a.cf.app","user":"[email protected]","acquiredLock":false,"state":"ABORTED","messages":[{"id":211713866,"text":"Operation ID: 95cc8835-549e-11ef-9de9-eeee0a88e5d6","timestamp":"2024-08-07T09:22:36.658Z[UTC]","type":"INFO"},{"id":211713880,"text":"Deploying in org \"PerformanceTeamBLR\" and space \"tf-space-1\"","timestamp":"2024-08-07T09:22:44.635Z[UTC]","type":"INFO"},{"id":211713899,"text":"Error processing MTA extension descriptors: org.cloudfoundry.multiapps.controller.persistence.services.FileStorageException: org.cloudfoundry.multiapps.common.ParsingException: Error while parsing YAML string: \nprovider_installation {\n dev_overrides {\n \"cloudfoundry/cloudfoundry\" = \"/go/bin\"\n }\n\n direct {}\n}\nclass java.lang.String cannot be cast to class java.util.Map (java.lang.String and java.util.Map are in module java.base of loader ''bootstrap'') ","timestamp":"2024-08-07T09:23:07.645Z[UTC]","type":"ERROR"}],"parameters":{}}'
headers:
Cache-Control:
- no-cache, no-store, max-age=0, must-revalidate
Expand Down Expand Up @@ -1045,7 +1045,7 @@ interactions:
trailer: {}
content_length: -1
uncompressed: true
body: '{"processId":"fca0e28d-549f-11ef-84bc-eeee0a83078e","processType":"DEPLOY","startedAt":"2024-08-07T09:32:38.686Z[UTC]","spaceId":"02c0cc92-6ecc-44b1-b7b2-096ca19ee143","mtaId":"a.cf.app","user":"[email protected]","acquiredLock":true,"state":"ERROR","errorType":"CONTENT","messages":[{"id":211715479,"text":"Operation ID: fca0e28d-549f-11ef-84bc-eeee0a83078e","timestamp":"2024-08-07T09:32:38.674Z[UTC]","type":"INFO"},{"id":211715482,"text":"Deploying in org \"PerformanceTeamBLR\" and space \"tf-space-1\"","timestamp":"2024-08-07T09:32:38.846Z[UTC]","type":"INFO"},{"id":211715485,"text":"Error processing MTA extension descriptors: org.cloudfoundry.multiapps.controller.persistence.services.FileStorageException: org.cloudfoundry.multiapps.common.ParsingException: Error while parsing YAML string: \nprovider_installation {\n dev_overrides {\n \"SAP/cloudfoundry\" = \"/go/bin\"\n }\n\n direct {}\n}\nclass java.lang.String cannot be cast to class java.util.Map (java.lang.String and java.util.Map are in module java.base of loader ''bootstrap'') ","timestamp":"2024-08-07T09:32:39.273Z[UTC]","type":"ERROR"}],"parameters":{}}'
body: '{"processId":"fca0e28d-549f-11ef-84bc-eeee0a83078e","processType":"DEPLOY","startedAt":"2024-08-07T09:32:38.686Z[UTC]","spaceId":"02c0cc92-6ecc-44b1-b7b2-096ca19ee143","mtaId":"a.cf.app","user":"[email protected]","acquiredLock":true,"state":"ERROR","errorType":"CONTENT","messages":[{"id":211715479,"text":"Operation ID: fca0e28d-549f-11ef-84bc-eeee0a83078e","timestamp":"2024-08-07T09:32:38.674Z[UTC]","type":"INFO"},{"id":211715482,"text":"Deploying in org \"PerformanceTeamBLR\" and space \"tf-space-1\"","timestamp":"2024-08-07T09:32:38.846Z[UTC]","type":"INFO"},{"id":211715485,"text":"Error processing MTA extension descriptors: org.cloudfoundry.multiapps.controller.persistence.services.FileStorageException: org.cloudfoundry.multiapps.common.ParsingException: Error while parsing YAML string: \nprovider_installation {\n dev_overrides {\n \"cloudfoundry/cloudfoundry\" = \"/go/bin\"\n }\n\n direct {}\n}\nclass java.lang.String cannot be cast to class java.util.Map (java.lang.String and java.util.Map are in module java.base of loader ''bootstrap'') ","timestamp":"2024-08-07T09:32:39.273Z[UTC]","type":"ERROR"}],"parameters":{}}'
headers:
Cache-Control:
- no-cache, no-store, max-age=0, must-revalidate
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func main() {
flag.Parse()

opts := providerserver.ServeOpts{
Address: "registry.terraform.io/SAP/cloudfoundry",
Address: "registry.terraform.io/cloudfoundry/cloudfoundry",
Debug: debug,
}

Expand Down
2 changes: 1 addition & 1 deletion migration-guide/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ terraform {
#Add new provider
cloudfoundry-v3-new = {
source = "SAP/cloudfoundry"
source = "cloudfoundry/cloudfoundry"
version = "0.2.0-beta"
}
}
Expand Down
Loading