Open mikucat0309 opened 3 months ago
Thanks for pointing this out and the offer to help @mikucat0309!
I think you are probably right that we can apply the same type coercion that's used on S3 BucketObjectV2 in AWS to make this resource accept Assets and Archives. I believe this is the relevant line in the AWS provider where that is configured; we can do the same thing on StorageObject.source
in this repo.
If you do decide to try to dive in for a PR, I suggest using Devbox or the devcontainer to get a build environment that has everything you need to build. make build
will rebuild everything and make test
will execute all the tests (E2E tests if you add one in the examples folder). There are also some more incremental targets in the Makefile that you can use if you have to iterate on a specific part of the build.
Hope that helps!
Hi all,
We can use the Assets & Archives as the content source for aws.s3.BucketObjectv2, I guess it is also possible to support Assets & Archives in oci.ObjectStorage.StorageObject.
Though I don't know much about how Pulumi works currently, but I willing to learn more about that and try my best to implement this feature.
Any ideas & suggestions are welcome!