GithubHelp home page GithubHelp logo

ldcorentin / terraform-provider-klayer Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 3.0 44 KB

A terraform provider to manage your klayers versions

License: Apache License 2.0

Makefile 9.73% Dockerfile 2.18% Go 79.71% HCL 8.37%

terraform-provider-klayer's Introduction

A terraform provider to manage your klayers (https://github.com/keithrozario/Klayers).

##Β Example

terraform {
  required_providers {
    klayer = {
      version = "~> 1.0.0"
      source  = "ldcorentin/klayer"
    }
    aws = {
      source  = "hashicorp/aws"
      version = "~> 3.0"
    }
  }
}

provider "aws" {
  region = "us-east-1"
}

data "klayers_package_latest_version" "pandas" {
  name   = "pandas"
  region = "us-east-1"
}

resource "aws_lambda_function" "test_lambda" {
  filename      = "index.zip"
  function_name = "klayers-test"
  role          = aws_iam_role.iam_for_lambda.arn
  handler       = "index.handler"
  runtime       = "python3.9"
  layers = [
    data.klayers_package_latest_version.pandas
  ]
}

You will find two klayers providers. The klayers one is deprecated because it is not synchronize anymore with the repo (I have no answer from the support to resynchromize it).

The right provider to use is : klayer!

terraform-provider-klayer's People

Contributors

ldcorentin avatar hertzsprung avatar

Stargazers

Tudor Hulban avatar Riley avatar Jakub avatar David Barrat avatar Victor Korzunin avatar Andy Shinn avatar Keith Rozario avatar

Watchers

 avatar

terraform-provider-klayer's Issues

Incorrect source link in terraform registry manifest

Hi bro, sorry to bother you...

Wanted to use your cool provider for Klayers with my CDKTF stack.
However, CDKTF for some reason requires the source link be correct in terraform manifest, here: https://registry.terraform.io/v1/providers/ldcorentin/klayers
As you may see the source link there is "https://github.com/ldcorentin/terraform-provider-klayers" which is not correct.

I'm getting the following error when trying to generate typescript constructs for the provider with the command cdktf get:

πŸ‘Ύ get | cdktf get
β Έ downloading and generating modules and providers...
β•·
β”‚ Error: Failed to install provider
β”‚ 
β”‚ Error while installing ldcorentin/klayers v2.0.3: could not query provider
β”‚ registry for registry.terraform.io/ldcorentin/klayers: failed to retrieve
β”‚ authentication checksums for provider: 404 Not Found returned from
β”‚ github.com
β•΅
Error: non-zero exit code 1

I was hoping to find a bug in the code and raise a PR, but apparently, it's configured somewhere in the terraform registry.
Could you fix it, please, if possible?

Cheers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.