Hey team, The PR <#729 for Atmos> is ready for rev...
# atmos-dev
v
Hey team, The PR #729 for Atmos is ready for review. Please keep the following points in mind: • The version package has been migrated. This is a bit out of scope for the task, but it was necessary to get the it done. Please review it carefully. I’ve tested everything and ensured it works correctly. I’ve also confirmed there’s no impact on terraform-provider-utils, but I’m not certain if there are other repos that could be affected. • We might want to inform users about the version package migration. • I’ve omitted TF_APPEND_USER_AGENT from atmos.yaml since it’s already set by default in the code. However, we might want to add it to all yaml files for better user transparency and guidance on how to use it. • Rabbit’s comments have been reviewed and replied to, and I’ve closed the remaining ones. • New test images have been provided in the PR. Please mark addressed comments as resolved, Cheers.
a
thanks @Vinny, I'll review it
🫡 1
e
Did you update the docs?
a
@Vinny I commented on the PR
v
ok I will cover that !
@Andriy Knysh (Cloud Posse) please check if location makes sense to you not sure about that https://github.com/cloudposse/atmos/pull/729/commits/9a7886d1cd9bbdb26347e3914c3ddc7231b16acb
e
I don’t see where we document its usage in atmos.yml
v
atmos.yaml is ignored, see comment in
Copy code
I've omitted TF_APPEND_USER_AGENT from atmos.yaml since it's already set by default in the code. However, we might want to add it to all yaml files for better user transparency and guidance on how to use it.
e
Didn't you originally add it to the atmos.yaml before adding support for the ENV?
v
correct, but I ended up removing because of dynamic version change
e
Note, most things in atmos are controllable via both. The
atmos.yaml
provides a configurable way, and the ENVs are an alternative.
✅ 1
v
but it's possible to implement
e
But the dynamic version change is just a dynamic default
I prefer we keep it how we had it, and preserving the dynamic default
v
ok I will add that, and default for what we had in the code
e
default for what we had in the code
Default to the dynamic version
v
exactly
👍 1
e
And update docs
v
@Erik Osterman (Cloud Posse)
append_user_agent: "Atmos/<version> (Cloud Posse; +https://atmos.tools)"
its good or specify a version? 1.0.0 as example
another thing should I add in all examples atmos.yaml or only the root?
❌ 1
a
add in root and all the tutorials
✅ 1
no need to add it to all the tests in
examples/tests
👍 1
e
No, we do not need to add to all examples
We only need in documentaiton
This is an advanced feature, for a specific use-case. 99% of people do not need to change the default.
✅ 2
The reason to expose it in the atmos.yaml is to make disabling it easier. The user can just override it.
✅ 1
v
done
e
Close... left a few nit picks
Also, I was expecting to see the option for
atmos.yaml
documented here https://atmos.tools/core-concepts/projects/configuration/terraform
v
Ok, I made a big mistake regarding that. In my previous comment, I was referring to the atmos.yaml file, where I intended to omit the variable for that exact purpose. 😅
np 1
ok I understand the flow now found the related mdx files.
👍 1