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

[TechDebt] Usage docs update: envvar config option isn't available to other contexts (IDE extensions) #360

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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 docs/using_openapi_provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ different ways:
### OTF_VAR_<provider_name>_SWAGGER_URL

Terraform will need to be executed passing in the OTF_VAR_<provider_name>_SWAGGER_URL environment variable pointing at the location
where the swagger file is hosted, where````<your_provider_name>```` should be replaced with your provider's name.
where the swagger file is hosted, where````<your_provider_name>```` should be replaced with your provider's name. Note that this variable will not be available to other contexts, like IDE extensions.

```
$ terraform init && OTF_VAR_goa_SWAGGER_URL="https://some-domain-where-swagger-is-served.com/swagger.yaml" terraform plan
Expand Down Expand Up @@ -400,4 +400,4 @@ Provider server started; to attach Terraform, set TF_REATTACH_PROVIDERS to the f
{"terraform.example.com/examplecorp/swaggercodegen":{"Protocol":"grpc","Pid":23647,"Test":true,"Addr":{"Network":"unix","String":"/var/folders/jh/lchbr1q95j73zwdy9_821qg40000gn/T/plugin768483034"}}}
^C{"@level":"error","@message":"grpc server","@timestamp":"2021-01-17T19:56:25.506124-08:00","error":"accept unix /var/folders/jh/lchbr1q95j73zwdy9_821qg40000gn/T/plugin768483034: use of closed network connection"}

````
````