Vizzuality/landgriffon

View on GitHub
infrastructure/base/keys.tf

Summary

Maintainability
Test Coverage
# Public keys for logging onto EC2 instances
# Note: Adding new keys will destroy the Bastion host and recreate it with new user data

resource "aws_key_pair" "all" {
  for_each = {
    tgarcia_vizzuality    = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCsQgoIZQAVAMFnESCsYotosbp3N2n8onp8Xmn0DZJmCnBzkfvn2SJdTQRKcyzjcHBqrseq+8Id0JYdb1aJJT2497b7NVOWvVLgqD5pYoxwLO4m3VjppUjpOfgGk3aBpzQTGwPHMqk4X4yvHNAuQcCTxo6gNIsyJZFxdzdc2P+oDLdTwekzsQvsPscFDXDYvtLTkCnSfeZAKsbb45XiAsH0HRnwzJYPvPr69V6c1R3igc2aDZ+eI2sZPvsCXWnvJYfL0QLJp+NwqJuRzHygcxsByg9p/wTPko2vEQLGvefBqjMFHbDYRyVh1omfwt3w/l5R6Abb1Mc2sNDqhBKFEe7/ tgarcia_vizzuality"
    hpacheco_vizzuality   = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC150DW1cU2vqz+/njDVrZwMVVTl4Hc4bHvcdopTpXcNLZNJalZwPeWcDG+p/mO2hbtno9aL32ieffxopGRp4gNEoNT3Nuv2SOq6ho6PffrSyCAzf1qBUPjKwpDIHalnYNHKaBhVpuIaIm87+DH2wuhDigbQqy9KDHjNCPwN+TToNZupSC+VK9vmPJcnoNSAvpiJ9Xq0czb5cZhCqAwmD2Q1Ch+Ac83tOF8Hx2ZRkZH5lvcWirv7KK4VY2IpmumeDP3Esxot0V6WAIujQ26FFwS6ABSTs1+TJd9ohUwBUxPlmsh1GZzz8vMfDhajnt4t74mEJS8RX0Zo4Lgau/8XDio5FxWcWPUpM5au4WpC1EZFOGMidFepsfSqgP1oPCxgY3W6vH/DMOqASdtzILVWtzPYlFt2DcpS0GQp6/Go0orCJq7JbI75NbepVVOcsEvVp5puJoqv1Fndm4oroU0rWAJX8i3tvZpt7vZ1mY5tifEcVFUOmEKx3k6h9T4zgts3vh1lyuE+IgV2CGpn//skGpGpQpCyNYvar0evpGTCaqGOPsniGnF0z55seDP3qfpLJif3Hrs+fX1Dg0N6RA+0RwEhfgirXym9VMDyeLV7MGVVF2K59qmCQgm0ca2mz0lMoEO/RT1x6rcKbQc8v6TxgQglf3HHpgEJQJ41+7Z3kL46w== henriquejcpacheco@gmail.com"
    alarranaga_vizzuality = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCxeHqNG3GJhm+KC9tpAKht18HPlvvLxQfBm6NbH+c6Y10qH7DbtT/FXTLZpzlIeSJaG3bS/8FKOHEIuLh07UcMskLPXLR6kijcrK9A3ZA/mBwfuNFk0u+s+ZSVRuCyy2kHPhouUMfdm289b5yOSkCXW+uVKM0pT3eFhGd7IvFTDxVazLrmdAVfHktsXw+Ohc32EiW5ITI7EZ4Xg+CNypIqRf3EGlRF17A2azn5dz08AwkYIBqTy+EHSMSdU5WSotarhGMNKsVplgpgpyXxeOphPHcntjb7fiu0KTBviAelmXilNTv/HA1qjYFuSFNv3sUNQiUQzaV3T2PSOUyLXbBFy0A7pXsX2gGvTafyE8WJsu/6kkOY9iqnkcZhYYHEemWpw6oPzc3mx9Z+AO57j4nG7TlPxpY9/Ydk6NS5oj4u5djYcpQvd7ztJMuAft7I32TwXrY5E/ywzoMQsPMoMiLzjZq+B27e5dN4vQ2iJwkS629GN9vgVRe2SSG0gtObyesfUJBNFWsaZBLFYqjiCAU+DMFRR48wUVai6oOz0qWxYQxqlrEA45aRvHy3Jz2JiMzlWAaiVOWHyFXkJQlGyObPL0U0Blf8y2NWhwicejz+LH9BWA5zdtuyHZD39Fll/10j64mim5reRhO1r7FvQIiK+KtSXSMeMdV1xVyJZPYWIw== alex@Alexs-MacBook-Pro.local"
    arota_vizzuality      = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDcVpt5PnYafo5m17IYNNRbchQir183Qj5+WE82X3emf98mzYBK6U7nZoC/swDeAtHPol3watNt+/SLqDDKlXJU55v9F6nQ/SYzZx/a2uomZ9tH+kItYtBoCbMpD9RMSKtaDm0l7kRuZ0lA0JLfGpiJv/m5WeaxPgtwrWUZSDcuhRtIYHpje06rH/AHrzDCWsFc0ccGbTRSpywQLw6enVpmEo2hbMV7E8bdVqdK7OIHM8YkKuNZCL8PvgFva9cnJMHRqwHXtS2bC6vz6b1gakFgEJzbxiIsiG3XKrRYIcL5RcWRof9Nlf57lJWWjzY032Vp9YormFac74CmA0fWH6rvTyZ0UUi1zfcMCVE35jTgMKnF83Jv0K8Dt2njxCOsZ7Mk4hvfyPY2y0cLIOfIYqyUtr1+vvlwg3V662YGDHMstHyM8G02KXbpJ6Ze45GcQlZGHQDf9/MaCSC/MwVb8mSwOdO1dmVByXyNB6vsIYRu6kOtoaJLE88IgEH6KaFK34M= andrea.rota+aws-vizz@vizzuality.com"
  }
  key_name   = each.key
  public_key = each.value
}