This message was deleted.
# getting-started
s
This message was deleted.
b
Yep, this is broadly what automation api is for https://www.pulumi.com/automation/
r
Oh.. cool! I had not seen the automation apis. Let me take a look. I already see an examples repo. Awesome!
I was able to try out one of the examples of the inline program shown with the automation API. This is super promising. One follow-up question. I saw that I still needed to create an object specific to an object type. E.g. the code has these lines for creating an S3 bucket:
Copy code
siteBucket, err := s3.NewBucket(ctx, "s3-website-bucket", &s3.BucketArgs{
			Website: s3.BucketWebsiteArgs{
				IndexDocument: pulumi.String("index.html"),
			},
		})
Similarly, if I have to create an RDS instance, I'll have to create a different object for it. Is it possible to NOT have to this specific to each object and simply rely on a
Pulumi.yaml
to have all the required objects and their options set?
b
automation API is the driving mechanism for a Pulumi program the
siteBucket
here is inside the Pulumi program. You can define your pulumi program in any language you want, and drive it using automation api using any other language. Pulumi supports YAML as an authoring mechansm for Pulumi program: https://www.pulumi.com/docs/languages-sdks/yaml/ Which can then be driven from the automation api
r
I see.. thanks! Let me try these things out.