Skip to content

Instantly share code, notes, and snippets.

@vishalsg42
vishalsg42 / template.yml
Last active September 6, 2020 05:51
Cloudformation with Bitnami Redis Server
AWSTemplateFormatVersion: "2010-09-09"
Description: Provision Bitnami Redis Server with cloudformation
Parameters:
RedisPassword:
Type: String
Description: Redis password
Resources:
RedisEc2Instance:
Type: AWS::EC2::Instance
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**