hello! I'm just curious to know whether the exampl...
# atmos-dev
s
hello! I'm just curious to know whether the examples of
quick-start-advanced/vendor.yaml
file is synced with latest codebase? because I was checking this issue: https://github.com/cloudposse/atmos/issues/487 but with current codebase, example and issue they seems mis-synced, in the
vendor_component_util.go
file where we check the component source uri (it has this checking
vendorComponentSpec.Source.Uri
) whereas in the example the
source
field of the component spec seems an string type! have I misunderstood anything? thank you!
e
@Andriy Knysh (Cloud Posse)
a
vendorComponentSpec.Source.Uri
is a string type
and we have
source: "github.com/cloudposse/terraform-aws-components.git//modules/vpc?ref={{.Version}}"
in
vendor.yaml
@Sahadat Hossain please provide more details on your question
oh, i see what you are asking
those are two diff things
we have two types of vendoring in Atmos
s
@Andriy Knysh (Cloud Posse) basically I wanted to check/recreate the issue https://github.com/cloudposse/atmos/issues/487
a
and these two types of vendoring use diff
Go
struct in
pkg/schema/schema.go
we already support both absolute and relative paths in both
component.yaml
and
vndor.yaml
please skip this issue for now, we'll review it later
s
btw, in this page that you shared both vendoring type referencing to the same page, just letting know incase it may need to update
a
s
please skip this issue for now, we'll review it later
okay I'll move to others then, thank you!