white-balloon-205
06/20/2018, 4:21 AM@pulumi/cloud
library in particular is designed to be high-level abstractions which could be created on multiple different cloud platforms. But that's just one kind of library that can be built. Things like @pulumi/aws-serverlesss
and @pulumi/aws-infra
provide helpful higher level abstractions that are still specific to AWS but making common patterns much easier to use.blue-answer-29496
06/20/2018, 4:36 AMwhite-balloon-205
06/20/2018, 4:42 AMcloud:provider
config variable which can be set to decide which provider it will target. This is ultimately not entirely unlike deciding which aws:region
you want to target - but just an even bigger switch.
See https://github.com/pulumi/pulumi-cloud/blob/master/api/index.ts#L31 for the details.big-piano-35669
06/20/2018, 3:31 PMkernel32!CreateFile
and FILE_FLAG_OPEN_REPARSE_POINT
and so on, but usually File.Open
does the job just fine. Just as in .NET, where you have P/invoke, in those cases where the high level primitives don't work, you can always drop down to the lower level cloud-specific APIs, even mixing them in the same program.blue-answer-29496
06/20/2018, 3:33 PMsparse-manchester-68940
06/20/2018, 4:44 PMblue-answer-29496
06/20/2018, 4:48 PM