Skip to content

sysadmiral/terraform-aws-secgrouprule-uptimerobot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sysadmiral_tf_aws_secgrouprule_uptimerobot

Allow traffic from uptimerobot to your origin by including this module

what this module does

The module pulls the ip4 and ip6 addresses from the public plaintext location that uptimerobot kindly make available here and here into the terraform data_source "http" introduced in 0.9.5.

The data is used to allow access from those ips to your origin on port 80 or 443 using a boolean var to apply the rule.

usage

Define a security group for your app/load balancer and call this module and pass the security group ID to the module.

resource "aws_security_group" "myapp" {

}

module "sysadmiral_tf_aws_secgrouprule_uptimerobot" {
  source            = "github.com/sysadmiral/sysadmiral_tf_aws_secgrouprule_uptimerobot"
  security_group_id = "${aws_security_group.myapp.id}"
  enable_http       = false
  enable_https      = true
}

About

Allow traffic from uptimerobot to your origin by including this module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages