1738 Commits

Author SHA1 Message Date
Raja Nagendra Kumar
277b010e8b
log is a method in context (#1850)
context in java has a method log() not as public field
2022-08-22 13:46:03 -04:00
Praneet Loke
3fc06341b4
Fix CLI binary download link for Windows (#1843) 2022-08-19 04:46:07 -07:00
Aaron Friel
60c3d288e3
Remove Fn::StackReference doc (#1746) (#1849)
Co-authored-by: Alex Qiu <aqiu@pulumi.com>
2022-08-18 20:25:07 -07:00
Levi Blackstone
64e6c2f045
Add note to clarify ignoreChanges behavior (#1846) 2022-08-18 12:28:17 -06:00
susan evans
725bcccfb7
improve usability of pulumi yaml project file (#1821) 2022-08-16 10:26:24 -07:00
Robbie McKinstry
6ca005d488
Clarify Copy on Supported Py Version (#1825)
This commit clarifies some unclear language around the minimum supported Python version.
2022-08-12 22:32:19 -04:00
Michal Fudala
3b904f0554
Add stack transformation example for Java (#1740) 2022-08-12 10:55:29 -04:00
Isabel Suchanek
a3aee74ba9
Billing manager docs (#1817) 2022-08-11 22:18:58 -07:00
Joe Duffy
a79b6e03be Moar download buttons
I kept finding myself on this page and wishing there was a link
to the download page. Seems like a safe addition.
2022-08-11 10:13:20 -07:00
Paul Stack
e8c6f8de2d
Fix winget download link on getting-started installation section (#1818) 2022-08-11 13:42:55 +01:00
Joe Duffy
57060a7a96
Improve download discoverability (#1811)
* Improve download discoverability

We know users have trouble simply downloading Pulumi. This used to be
very easy, but over time, as we optimized the Getting Started flows, it
got pushed further and further away from the core user experience.

I don't know about you, but the first thing I care about when I'm
trying out a new open source tool is downloading it!

This change aims to do two things:

1. Make downloading a more prominent CTA.

2. Improve the download page so it's less noisy and more focused.

This entails:

* Adding a DOWNLOAD secondary CTA on the homepage.

* Summarizing the recommended download options at the top of the
  download page, very clearly, and without any preamble. This
  hopefully tells you instantly what you wanted for the 80% case.

* I exerted some artistic freedom which I'd love feedback on. The
  recommended options were our Official Brew Tap for macOS, curl
  command for Linux, and MSI Installer for Windows. Peers to those
  are simple download links for the binaries, as that's the simplest
  possible thing, which today is actually the hardest thing to find.
  Notably for Windows, I thought of using Chocolatey or Winget, but
  I don't perceive that either is "the default" for Windows users.
  Winget is the future but it isn't supported pre-Win11, which I have
  to assume most users aren't on yet. MSI has been around since the
  dinosaurs, so it seems like the safest choice to promote.

* Moving the list of download options for each operating system
  underneath a collapsable accordion list, which is collapsed by
  default, and clearly labeling it as "Other"; as in, if the heading
  didn't work for you, here are some other options.

* A few other wordsmithing tweaks to make the page a little more
  streamlined and to flow better.

This is absolutely NOT the final destination for any of this,
however, I am hopeful it will be a simple incremental improvement
that moves the needle on key metrics. We'll watch it in the weeks
to come and course correct as needed -- as well as continuing to
think about ways we can improve all of this overall!

One note: This depends on a new secondary hero button style that
isn't yet merged in the upstream Hugo component library. Assuming
I did that correctly (a big if!) I'll need to rev the go.mod file
after it merges. See: https://github.com/pulumi/theme/pull/159.

* Apply suggestions from code review

Co-authored-by: susan evans <susan.ra.evans@gmail.com>

* Fix up some styling

* Update themes/default/layouts/index.html

Co-authored-by: susan evans <susan.ra.evans@gmail.com>

* Use new theme/style

Co-authored-by: susan evans <susan.ra.evans@gmail.com>
Co-authored-by: zchase <zachary@pulumi.com>
2022-08-10 11:25:41 -07:00
susan evans
64bcde1c57
remove some simplys (#1807) 2022-08-09 12:32:12 -07:00
Kyle Pitzen
3c05d256dc
fix: Adds Java and YAML language-specific shortcodes (#1803) 2022-08-09 09:17:55 -04:00
Ringo De Smet
a89be83553
Troubleshoot Pulumi & system wide proxy server (#1797) 2022-08-08 08:58:35 -07:00
Joe Duffy
5d61319514
A handful of updates (#1798)
* A handful of updates

Here are some updates based on recent conversations and feedback:

* Update the homepage subheading to be a bit clearer about what
  Pulumi is and what it does.

* Change the Cloud Engineering menu item to Why Pulumi, and sort
  it to the right of Product.  This more clearly speaks to what
  this navigation item represents as well as its importance
  relative to learning about Pulumi's Product offerings.

* Change the Pulumi Product landing page to say Pulumi Overview,
  not Cloud Engineering Platform, since that's what you click to
  get there and it currently feels very disconnected from all of
  the surrounding marketing which speaks in terms of IaC.

* Add a paragraph to that overview page speaking simply to what
  Pulumi is, and making sure to mention open source.

* Add a sentence to the Get Started page about open source.

* Add more customer logos -- we should be updating this much more
  often!!  Also change the logos to scroll horizontally so that
  we aren't afraid to continue adding new ones from time to time.

* Add recent news stories -- we should be updating this much
  more often too!!  Apparently it's been over a year, despite having
  tons of news coverage to share.

* Run prettier to format things

* Sort the case studies

* crop tfir logo

Signed-off-by: susanev <susan.ra.evans@gmail.com>

Co-authored-by: susanev <susan.ra.evans@gmail.com>
2022-08-02 19:13:43 -07:00
Ian Wahbe
e1edd138d5
Document yaml getters (#1795)
* Document the Pulumi YAML getter function

* Clarify YAML logical names

* Add `get` to the YAML reference

* Fix typo and improve naming language
2022-07-29 15:54:12 +02:00
Christian Nunciato
d7a6aeaf65
Fix a couple of papercuts (#1794) 2022-07-28 16:42:55 -07:00
Fraser Waters
e5bae061a7
Add docs about plugins section in Pulumi.yaml (#1768)
* Add docs about plugins section in Pulumi.yaml

* Add (optional)

* Full stop and casing

Co-authored-by: susan evans <susan.ra.evans@gmail.com>

Co-authored-by: susan evans <susan.ra.evans@gmail.com>
2022-07-28 09:28:33 +01:00
Aaron Friel
59696f7332
Revert "Remove Fn::StackReference doc (#1746)" (#1779)
This reverts commit a6f271f4ca5226ed3d816932c6dc65e83f074279.
2022-07-26 20:03:14 -07:00
Isabel Suchanek
31b53b1277
Fix C# stack readme sample code (#1777)
Fixes #1727
2022-07-26 16:20:53 -07:00
Enoch Finley
08f94a589e
update python code block in ecs.md (#1776) 2022-07-26 21:23:38 +01:00
Jeffrey 'jf' Lim
e47e3e6b88
Importing Infrastructure doc: s/import statement/import option/ to be more generic and less confusing (#1738) 2022-07-26 08:23:28 -07:00
Stephen Bawks
c2ad648d6f
crosswalk Python Fixes (#1771) 2022-07-26 08:20:40 -07:00
Thomas Meckel
cc127ea60a
feat: YAML provider version pinning (#1767)
* Added documentation about provider version pinning to themes/default/content/docs/reference/yaml/_index.md

* Update themes/default/content/docs/reference/yaml/_index.md

Co-authored-by: Aaron Friel <mayreply@aaronfriel.com>

Co-authored-by: Thomas Meckel <tmeckel@users.noreply.github.com>
Co-authored-by: Aaron Friel <mayreply@aaronfriel.com>
2022-07-22 21:12:56 -07:00
Devon Grove
cf402843a0
Add Team Tokens documentation (#1763)
* Add Team Tokens documentation
* Fixed weird formatting around column sizes in org/team tokens access pages
* Apply suggestions from code review
  * Co-authored-by: Myles Haynes <myles@pulumi.com>
* Apply suggestions from code review
  * Co-authored-by: meagancojocar <50200557+meagancojocar@users.noreply.github.com>
2022-07-21 17:24:17 -07:00
Anton Tayanovskyy
01671e23b6
Document Java codegen options (#1760)
* Document Java codegen options

* Update themes/default/content/docs/guides/pulumi-packages/schema.md

Co-authored-by: susan evans <susan.ra.evans@gmail.com>

* Update themes/default/content/docs/guides/pulumi-packages/schema.md

Co-authored-by: susan evans <susan.ra.evans@gmail.com>

* Spacing

Co-authored-by: susan evans <susan.ra.evans@gmail.com>
2022-07-21 12:00:57 -04:00
susan evans
2105811cff
add missing chooser to aws, azure, gcp deploy stack step (#1761) 2022-07-21 06:48:07 -07:00
Fraser Waters
b062380ecf
Fix C# code in get-started (#1762)
* Fix C# code in get-started

Tactical fix for pulumi/pulumi#10202

* Add azure & k8s
2022-07-21 12:49:37 +01:00
Fraser Waters
1b0a5d1270
Update verbose logging documentation (#1744)
* Update verbose logging documentation

* markup

* ws

* Use warning format

Co-authored-by: Christian Nunciato <c@nunciato.org>

Co-authored-by: Christian Nunciato <c@nunciato.org>
2022-07-21 12:41:01 +01:00
Daniel Bradley
b15a0885f2
Add provider configuration documentation (#1755)
* Add provider configuration documentation
2022-07-20 15:57:21 +00:00
Alex Qiu
a6f271f4ca
Remove Fn::StackReference doc (#1746) 2022-07-19 16:25:47 -07:00
Michal Fudala
c3801c032a
fix provider example java (#1741) 2022-07-14 08:19:07 -07:00
Jeffrey 'jf' Lim
3e60725a45
Resource Names doc: prefer f-strings (Pulumi is >= Python 3.6) (#1735) 2022-07-14 10:00:44 -04:00
Jeffrey 'jf' Lim
d5df9b8a0a
Fix #1652: python comments are '#'! (#1736) 2022-07-13 10:20:11 -07:00
Zaid Ajaj
dbf7d69857
Update getting started guides for dotnet 6 using newer templates (#1656)
* Update getting started guides for dotnet 6 using newer templates

* lint

* update ec2-webserver how-to guide for csharp

* Fix inconsistencies found by Mikhail 🙏
2022-07-12 18:40:45 +02:00
Fraser Waters
91c8fe64f8
Add pluginName and version to schema page (#1725) 2022-07-11 23:17:24 +01:00
Michael Bridgen
816c611697
Retarget YAML SDK link (#1719)
* Retarget YAML button on SDK home page

.. in sympathy with this menu change:

    https://github.com/pulumi/docs/pull/7764

* Remove the implicit Pulumi YAML spec menu item

The PR https://github.com/pulumi/docs/pull/7764 adds a menu item
pointing at the Pulumi YAML spec, from the SDK part of the navigation
menu; this commit removes the `menu` stanza from the doc file itself,
which would normally generate a(nother) menu item for itself.

Mysteriously, the implicit menu item appears in previews but not in the
live site. Removing it will at least make sure it doesn't accidentally
appear at some later time.

Signed-off-by: Michael Bridgen <mbridgen@pulumi.com>
2022-07-11 09:49:36 +01:00
Aaron Friel
429ed7bfcd
Fix overflow on YAML resource options (#1714) 2022-07-07 13:14:09 -07:00
Michael Bridgen
a708df2f77
Bring YAML spec up to date with Fn::ToJSON (#1712)
Signed-off-by: Michael Bridgen <mbridgen@pulumi.com>
2022-07-07 17:51:17 +01:00
Michael Bridgen
19799e48a7
Find a space for the Pulumi YAML spec (#1665)
This adds the Pulumi YAML spec, as taken from

    https://github.com/pulumi/pulumi-yaml/blob/main/README.md

to the reference docs part of the website, and links to it from the
intro part, navigation, and reference home page.

Signed-off-by: Michael Bridgen <mbridgen@pulumi.com>
2022-07-07 15:10:11 +01:00
susan evans
0ee01fffaf
removing confusing line about policy in aws get started guide (#1691) 2022-07-06 08:45:46 -07:00
Fraser Waters
f1ea5221f5
Add documentation about the github schema for pluginDownloadURL (#1683)
* Add documentation about the github schema for pluginDownloadURL

See https://github.com/pulumi/pulumi/pull/9984

* Update went out in v3.35.3
2022-07-06 08:34:12 +00:00
Ringo De Smet
3bba23a7fe
Name of environment variable was wrong in the example (#1689) 2022-06-30 06:23:33 -07:00
Christian Nunciato
efea85064e
Update next-steps pages (#1667)
Co-authored-by: aaronkao <kao@pulumi.com>
2022-06-27 22:28:18 +00:00
Avi Flax @ Latacora
dfe968607a
unit testing guide: show how to set flag dryRun (#1642)
* Add PULUMI_TEST_MODE to guides/testing/unit

I was pulling my hair out trying to figure out why `pulumi.isDryRun`
was returning `false` when I was running my unit tests, given that
[the docs on the method][1] say:

> Note that we always consider executions in test mode to be
> “dry-runs”, since we will never actually carry out an update, and
> therefore certain output properties will never be resolved.

I’m still not sure if/where there is any canonical documentation on
“test mode” but I feel that it should probably always be enabled when
running unit tests. I’d prefer that there be a programmatic/imperative
way to enable it, e.g. `runtime.setDryRun(true)` or something similar,
but in lieu of that I feel the examples should include setting the env
var so as to plant seeds of awareness about this feature and how it
works.

[1]: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/runtime/#isDryRun

* Revert "Add PULUMI_TEST_MODE to guides/testing/unit"

f4adeec976811d64fe066b5084a9eeaf91b63814

As per discussion in pulumi/pulumi-hugo#1642

* guides/testing/unit: show how to set dryRun flag

Which, as per the discussion in pulumi/pulumi-hugo#1642, should
really/probably be renamed to `isPreview` or something along those
lines.

Anyway, it looks like the C# example already includes passing a value
for this flag, and I don’t know enough Go to add it to the Go example.

Now that I’m writing this commit message, the situation with `dryRun`
is confusing enough (especially given the docs on `runtime.isDryRun`)
that it could probably merit adding a small dedicated section to this
page. I’ll ask in the PR whether that’d be desirable.

* guides/testing/unit.md: better description of a flag

Co-authored-by: Ian Wahbe <ian@wahbe.com>

Co-authored-by: Ian Wahbe <ian@wahbe.com>
2022-06-27 10:44:02 -07:00
Myles Haynes
9ee818f95c
Add Service Provider registry link to docs page (#1610)
* Add Service Provider registry link to docs page

* Fix relref

* Add description to pulumi service provider entry
2022-06-27 08:13:23 -07:00
Robbie McKinstry
d6450d609d
Add warning to resource options docs (#1653)
(Some) resource options are ignored when applied
to component resources. This commit adds a warning
to the docs explaning this behavior.
2022-06-23 14:58:15 -04:00
Mikhail Shilkov
de513307f6
Change .NET Core to .NET is our docs prose (#1635) 2022-06-17 18:57:08 +02:00
Ian Wahbe
5d60e0c5e7
Document the schema for bulk imports (#1626)
* Document the bulk import schema

* fixup! Document the bulk import schema

* Fix links
2022-06-17 09:26:47 -07:00
Mitch Gerdisch
28ffeb0e71
Mitchell gerdisch/correct awsx ecs examples (#1627) 2022-06-16 19:03:29 +03:00