I came across an YAML Cloudformation template that was failing validation with the following error: Cannot convert the template because of an error:: unknown tag !<!Contains> at line... The !Contains function is part of AWS Service Catalog, and it is meant to give more control and flexibility when creating your company's stacks. The challenge is that the current AWS Service Catalog documentation only provides examples in JSON format, leaving YAML users at their own luck. Fiddling around in different forums, I happened to notice that YAML can recognize the JSON pattern of the Contains function ( 'Fn::Contains' ) So in order to make the YAML code work, I replaced !Contains with 'Fn::Contains' See the examples below: JSON "Rules": { "AuroraDBInstanceTypeRule": { "RuleCondition": { "Fn::Equals": [ ...
Trying to install Hortonworks on Ubuntu 18, I was not able to connect to the keyserver using: apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD to fix this i used the following instead apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 B9733A7A07513CAD This is the successful output: Executing: /tmp/apt-key-gpghome.abd3V0BdXN/gpg.1.sh --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 B9733A7A07513CAD gpg: key B9733A7A07513CAD: public key "Jenkins (HDP Builds) <jenkin@hortonworks.com>" imported gpg: Total number processed: 1 gpg: imported: 1