You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What i would like to be able to do is extend a template and find and replace where a Ref is defined with the extended template and replace it with a FnImportValue.
Example cfhighlander template
CfhighlanderTemplate do
Name 'service'
Parameters do
ComponentParam 'ServiceTag'
end
Extends 'ecs-service@latest' do
replace name: 'EcsCluster', value: FnImportValue(FnSub("${EnvironmentName}-ECSCluster"))
replace name: 'VPCId', value: FnImportValue(FnSub("${EnvironmentName}-VPC"))
replace name: 'Listener', value: FnImportValue(FnSub("${EnvironmentName}-httpsListener"))
parameter name: 'ServiceTag', value: Ref('ServiceTag')
end
end
The text was updated successfully, but these errors were encountered:
What i would like to be able to do is extend a template and find and replace where a
Ref
is defined with the extended template and replace it with aFnImportValue
.Example cfhighlander template
The text was updated successfully, but these errors were encountered: