-
Notifications
You must be signed in to change notification settings - Fork 454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Referencing folders inside the deployment #357
Comments
|
According to The project template does not have |
Thank you for your feedback. Having a second thoughts on this, A little explanation here: We introduced However if I understand your question correctly, you wish to do a string manipulation on a reference value. As of today, this is not supported in deployment manager. One workaround can be to split the resources into multiple deployments and use cross deployment references ( supported by the CFT cli). Can you give a more detailed example what are you trying to achieve? |
folders.yaml:
projects.yaml
I'm able to achieve the desired string manipulation by patching the projects template:
The |
Related : the schema file for the folder template claims that the output returned will be a array, but in reality it is a dict :
|
On your last comment, you are tight. Tracking at #554 . On your first comment: Yes, since not long ago DM supports subselection from an output. But I am not sure how that solves the string manipulation. I will try out your code, especially checking what is the expanded output will be of this patched project template if the parentID is a folder name reference. |
I was the creator of issue #628, which claims my issue is a duplicate of this issue, but I don't see a resolution. As pointed out above, |
The CFT template supports to create multiple folders in one resource, however since we added a hash for the resource name, we can reference to a folder without knowing the hash. We need a solution for this.
At the same time the hash is needed, because the folder name is not unique, only with the parent together.
cloud-foundation-toolkit/dm/templates/folder/folder.py
Line 35 in 338166e
The text was updated successfully, but these errors were encountered: