I tried following this example and ran in to multiple potential issues.
- The initial tutorial puts all of the code in to the `MyStack.cs` class, and the run is only using that file for all of the updates. The description in Step 2, describes putting the code in to `MyStack.cs` but the code snippet is putting everything in `Program.cs`.
- Even if using `Program.cs`, it would need to be `Deployment.RunAsync`, there's a compiler error with a straight copy/paste
- There's a syntax issue when specifying the `SecurityGroupIngressArgs`, there's an extra set of curly brackets that I've removed
- The line for specifying the `ami.Id` will not work unless you get the `.Result` of the `GetAmi.InvokeAsync`. Without, `ami.Id` just returns `1`. Is there a better way to fix this? I always try to avoid doing `.Result`, but not sure how you want to approach that in this case.
- I added the two `[Output]` properties for `PublicIp` and `PublicDns`
Please feel free to take another approach with this, this is just what I had to do in order to get the tutorial working as I believe it was intended to. I'm also happy to make any adjustments to this PR if that would help you out.
If I did something wrong and the tutorial _is_ working as intended the way it is on the site right now, please let me know so I can adjust for future reference.
Thanks!
* SEO optimization for KW "OpenStack Providers"
Optimized metadata and some new language based on semantic analysis.
Primary KW: OpenStack Providers
Semantic analysis: private, public, infrastructure, cloud provider, software
Just from a content standpoint, a single sentence intro/explanation before the example would benefit this page, but I don't have the information to write that myself. I also assumed "packager" was a typo, but feel free to reject that if I'm wrong there.
* Update content/docs/intro/cloud-providers/openstack/_index.md
* Update content/docs/intro/cloud-providers/openstack/_index.md
Co-authored-by: Zack Chase <zachary@pulumi.com>
This blogpost shows how you might use an AWS KMS to encrypt your secret
values, including scoping access to a KMS key. Currently missing:
- I need a little help with the CSharp examples