1738 Commits

Author SHA1 Message Date
Thomas Maddox
b33d4f20a5
Clean up bucketEndpoint use in GCP Golang Get Started (#2511)
Addressing two issues I discovered while going through the GCP Golang Get Started guide:

1. On the Modify Program step of the guide, `bucketEndpoint` is assigned but never used and therefore cannot compile. If a User wanted to run this program before proceeding to the Deploy Changes step, they would get an error like this: `./main.go:47:3: bucketEndpoint declared and not used`.
2. At the Deploy Changes step, `bucketEndpoint` is assigned before error handling for the previous call, which means it may proceed to attempt to access attributes from a `nil` value during interpolation when it should be providing the error from the `NewBucketObject` call.

Co-authored-by: Abhinav Gupta <abhinav@pulumi.com>
2023-03-09 13:27:24 -08:00
susan evans
46a1d33b87
make update plans page title more specific (#2546) 2023-03-09 12:40:14 -08:00
susan evans
3014e6357c
add a note to secrets page (#2541) 2023-03-09 12:31:20 -08:00
Monica
7c22417ab1
Merge pull request #2528 from pulumi/monica/automation-api-crosslanguage
Add automation API cross-language note
2023-03-07 11:15:18 -05:00
Ringo De Smet
3daa5fb0e9
Document support for Gitlab releases to host plugin binaries (#2535)
Signed-off-by: Ringo De Smet <ringo@de-smet.name>
2023-03-07 10:00:26 +01:00
Monica
bbec069902
Drop note style and add to inline para 2023-03-06 15:23:48 -05:00
Luke Hoban
3840ab1b44
Some docs fixes (#2530)
Fixes https://github.com/pulumi/pulumi-hugo/issues/2063.
Fixes https://github.com/pulumi/pulumi-hugo/issues/2519.
Fixes https://github.com/pulumi/pulumi-hugo/issues/861.
Fixes https://github.com/pulumi/pulumi-hugo/issues/384.
Fixes https://github.com/pulumi/pulumi-hugo/issues/1143.
Fixes https://github.com/pulumi/pulumi-hugo/issues/1404.
Fixes https://github.com/pulumi/pulumi-hugo/issues/66.
Fixes https://github.com/pulumi/pulumi-hugo/issues/316
Fixes https://github.com/pulumi/pulumi-hugo/issues/2200.
Fixes https://github.com/pulumi/pulumi-hugo/issues/2225.
2023-03-06 11:58:23 -08:00
Thomas Kappler
675f68a1a8
Fix Go example for pulumi.All (#2531) 2023-03-06 08:22:16 -08:00
Anita Trimbur
74753a4ec2
update outdated console screenshot in scim guide (#2526) 2023-03-02 18:55:39 -08:00
Monica
4795572370
Add automation API cross-language note 2023-03-02 13:13:49 -05:00
Devon Grove
8843ffe7af
privateKey -> sshPrivateKey (#2520) 2023-03-01 16:06:11 -05:00
susan evans
8d43d806ec
remove direct links to github app (#2514) 2023-02-27 07:14:57 -08:00
Thomas Maddox
ceaeea9b48
Fix typo: compile-type -> compile-time (#2512) 2023-02-26 15:57:20 -08:00
Andreas Brunner
c1d031ddbe
Update names.md (#2513)
Fix two typos.
2023-02-24 10:35:38 +00:00
Abhinav Gupta
9921e7a282
python: __opts__ => opts (#2483)
Some of the examples pass options to Python APIs
via `__opts__` instead of `opts`.
The only time `__opts__` is supposed to be used is when
the resource has an existing `opts` parameter,
which is not the case for the resources in these examples.

This updates them to use `opts`.

Resolves #2471
2023-02-13 05:15:08 -08:00
susan evans
5958d8bf1d
fix project file url (#2487) 2023-02-10 12:20:48 -08:00
Abhinav Gupta
cdfb0e54dc
cloud-templates: Fix double create (#2479)
Resolves #2470
2023-02-07 17:20:20 -08:00
Abhinav Gupta
afce3b10da
CD/GitHub: Fix language on code fences (#2478)
A few code fences on the GitHub Actions page use 'diff'
even though they contain YAML.

This switches those fences to YAML.
2023-02-07 15:49:35 -08:00
Abhinav Gupta
2376fb96b2
cd/github: Recommend setup-go v3 with latest go-version (#2477)
Our documentation for how to use Pulumi with GitHub Actions
included GitHub Workflow files using setup-go@v2
referencing specific Go releases.

[actions/setup-go@v3](https://github.com/actions/setup-go#v3)
added support for a 'stable' (and 'oldstable') alias.
With this alias, the action will always use the latest stable Go release
instead of a specific version.

This updates our GitHub integration documentation
to recommend setup-go v3 and the 'stable' alias
over a specific pinned version.

That leaves this documentation and the sample workflow files
more future-proof as newer versions of Go are released.
2023-02-07 15:49:27 -08:00
George Huang
c8cee7fb8a
Update docs and pulumi deployments page (#2469) 2023-02-06 16:41:20 -08:00
Mitch Gerdisch
9c248d7a84
add project config documentation (#2461)
* add project config documentation

* add refs to cli and secrets github issues
2023-02-03 08:37:42 -06:00
susan evans
8ebb722b09
fix-delete-stack-docs (#2464) 2023-02-02 11:51:06 -08:00
Christian Nunciato
54f89a53a9
Clarify how to retrieve namespaced configuration (#2456)
* Clarify how to retrieve namespaced configuration
* Add component examples
2023-02-01 18:23:48 +00:00
Ilya Sher
4116661ab3
[_index.md] CDK assets are uploaded to appropriate services (#2425)
* [_index.md] CDK assets are uploaded to appropriate services
* Apply feedback

Co-authored-by: Christian Nunciato <christian@pulumi.com>
2023-01-30 09:43:46 -08:00
Scott S. Lowe
7b7badf08e
Standardize export names in Crosswalk guide (#2427)
Ensure export names are consistent across all languages

Signed-off-by: Scott Lowe <slowe@pulumi.com>
2023-01-26 02:16:39 -07:00
Christian Nunciato
8452067ef7
Shorten language navs (#2436) 2023-01-25 10:41:30 -08:00
Evan Boyle
353074cafb
update comments on github app permissions (#2428) 2023-01-21 09:23:13 -08:00
Aaron Friel
e2a7ebe42e
Remove warning for Node 19.x (#2424)
The upstream issue should be resolved, with details in https://github.com/pulumi/pulumi/pull/11932 and https://github.com/pulumi/pulumi/issues/11488.

This should be merged after pulumi/pulumi#11932 has merged in case there are any other issues with Node current.
2023-01-19 21:10:14 -08:00
Christian Nunciato
62e7fa891f
Update references to metral/pulumi-nginx (#2415) 2023-01-19 15:44:21 -08:00
Abhinav Gupta
3891a48975
concepts/secrets: Use language shortcodes for APIs (#2405)
Some of the documentation for secrets hard-codes
links to the Python APIs.

Replace these with shortcodes for those APIs
that change as different languages are selected.

Additionally, the following changes were made to the shortcodes:

- getsecret, requiresecret, secret-new: teach about Java
- secret-new: Fix Go API -- there's no "NewSecret", only "ToSecret"

Supersedes #2404
2023-01-17 13:28:16 -08:00
Abhinav Gupta
48d105c189
backends/s3: Quote login argument (#2403)
One of the snippets for `pulumi login s3://..` does not quote the URI.
This won't work if someone tries to copy and run it because the '&'
will be interpreted as a shell command to start a background process.

Fix by adding quotes around the login command.
2023-01-17 13:22:31 -08:00
Komal
cb1980ef1c
Add example to user different node version (#2390) 2023-01-11 13:16:19 -08:00
Ali Abbas Jaffri
494f0b201f
correcting vpcId typo in the docs to vpc_id (#2366)
* correcting the vpc_id variable

* Updated vpc id variable document for consistency
2023-01-11 13:04:24 -08:00
susan evans
8f1d2c1fd1
updates for account settings changes (#2389) 2023-01-10 15:06:50 -08:00
Abhinav Gupta
e5ef4579ce
intro/stacks: Missing closing paren (#2383)
Before:

    [..] a Promise (effectively, the same as an Input. The actual [..]

Now:

    [..] a Promise (effectively, the same as an Input). The actual [..]
2023-01-10 10:36:09 -08:00
Abhinav Gupta
9d7f7bced0
get-started/*/create-project: Add prompt examples (#2381)
In the Get Started documentation,
when we tell users to Create a New Project with `pulumi new`,
we include a handful of short paragraphs next to each other
with instructions.

This is not very skimmable:

- keywords like project name/description/stack name
  are hidden in the text
- the actual instruction of what to do is also just hidden
  in the text

For someone following along, it's better to have keywords
related to prompts they're seeing highlighted,
and to include a sample output they can follow along to.

This changes the create-project sections
of all four Get Started with Pulumi pages
in the following way:

- project name and project description are bold
- change "name of a stack" to "a stack name", and bold "stack name"
- add the output of `pulumi new` after each step;
  I've altered the output slightly to not be language-specific

Before this change, only the k8s tutorial included a sample prompt,
but that was at the top of the text rather than interspersed with it.
2023-01-10 09:29:32 -08:00
Abhinav Gupta
764083e027
get-started/{azure, gcp}: Don't mention GOPATH (#2380)
This is a follow up to #2372,
making the same change to the Azure and GCP guidance.
Go projects no longer need to use GOPATH.
2023-01-09 11:47:17 -08:00
susan evans
c2b682ea95
add docs on disconnecting identity providers (#2379) 2023-01-09 09:59:54 -08:00
Komal
a3b146ac2c
Fix config docs (#2375) 2023-01-06 10:32:11 -08:00
Pat Gavlin
1190906301
OIDC: fix issuer URL (#2374) 2023-01-06 10:14:38 -08:00
Pat Gavlin
e20610600f
Add Pulumi Deployments OIDC docs. (#2369)
These changes add a new set of guides that explain how to configure
Pulumi Deployments' OpenID Connect integration with AWS, Azure, and GCP.

These changes also add documentation for OpenID Connect in the Pulumi
Deployments API.

Co-authored-by: Komal <komal@pulumi.com>
2023-01-05 12:05:58 -08:00
Christian Nunciato
d911e86e01
Update create-project.md (#2372) 2023-01-05 10:24:16 -08:00
Francisco Schulz
8da8318864
fix syntax errors in YAML (#2367)
"FileAsset" is not accepted needs to be "fileAsset"
"block" need to be "Block"
2023-01-04 15:28:03 -08:00
Ringo De Smet
f8200ee4a3
Documented the missing SMTP environment variables. (#2332) 2023-01-03 12:35:18 -08:00
Sara
66142c2564
Update index.md (#2109) 2023-01-03 09:46:12 -08:00
kasadaamos
1c2cbd61df
Add missing "chooser" around a couple of JS and TS snippets (#2360)
The code snippets of JS and TS under https://www.pulumi.com/docs/intro/concepts/inputs-outputs/#lifting appeared both at the same time on the page because they were missing the wrapping of `{{< chooser...`
2023-01-03 10:43:04 -05:00
Alex Qiu
663c1757df
Add builtin pulumi variable to YAML reference (#2344) 2022-12-21 09:51:05 -08:00
Weinell
a4f9eec12e
Change from getId() to id() in Java (#2335)
bucket.getId() was deprecated - bucket.id() is the new method.
2022-12-19 06:28:29 -08:00
Komal
34a497e0cf
Update self-hosted docs to include service metadata endpoint (#2334)
* Update self-hosted docs to include service metadata endpoint

* Fix typo
2022-12-16 13:40:08 -08:00
Pat Gavlin
f6aeb832b6
[deploy] Document PULUMI_ENV (#2304)
These changes document support for exporting environment variables from
pre-run commands via the PULUMI_ENV file.
2022-12-16 08:56:24 -08:00