{"library":"serverless-cloudformation-sub-variables","type":"library","category":null,"description":"This plugin for the Serverless Framework enhances `serverless.yml` files by automatically converting a custom `#{Variable}` syntax into AWS CloudFormation `Fn::Sub` functions. It supports a wide range of CloudFormation variables, including template parameters, resource logical IDs, resource attributes, pseudo parameters (e.g., `AWS::Region`), literal variables, and key-value map `Fn::Sub` functions. The plugin operates during the `package` command, executing its transformations after Serverless variables (`${self:variable}`) are resolved but before the CloudFormation template is packaged for deployment. A key feature is its ability to automatically wrap strings with `Fn::Sub` unless `Fn::Sub` is already explicitly defined in the parent YAML node, providing flexibility for complex scenarios. The current stable version is 0.2.1, released in late 2023, reflecting a deliberate, slower release cadence focused on stability and specific bug fixes. Its primary differentiator is the transparent and generic conversion of `#{...}` syntax across the entire CloudFormation template portion of `serverless.yml`, simplifying complex CloudFormation variable usage without extensive manual `Fn::Sub` declarations.","language":"javascript","status":"active","version":"0.2.1","tags":["javascript","serverless","framework","plugin","aws","cloudformation","cfn","sub","variables"],"install":[{"cmd":"npm install serverless-cloudformation-sub-variables","imports":["plugins:\n  - serverless-cloudformation-sub-variables"]},{"cmd":"yarn add serverless-cloudformation-sub-variables","imports":[]},{"cmd":"pnpm add serverless-cloudformation-sub-variables","imports":[]}],"homepage":null,"github":"https://github.com/santiagocardenas/serverless-cloudformation-sub-variables","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/serverless-cloudformation-sub-variables","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/serverless-cloudformation-sub-variables/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}