Giter VIP home page Giter VIP logo

aws-poc's Introduction

I'm a software engineer with a passionate for operational systems, system programming languages, networks and high load distributed systems.

I'm currently interested in AWS Cloud Computing, thus I've been studying a lot for take SAA-C02 exam. I already have CLF-C01 and DVA-C01 certifications. Besides that, I crazy about system programming languages, network and OSes. This is the reason that I working on to take LPIC-1 101 exam. After made LPI Essentials, this is the natural next step. The last but not least, I've deep diving into Rust and Go in my toy projects at my Github, as you may see in the following list:

  • dynhdl: DYNamo HanDLer is a tiny CLI application to handle DynamoDB DML requests for a configured table wrote in Rust programming language.
  • dotfiles: It contains my configuration files (dotfiles). Besides that, it also has my own functions, aliases and environment variables;
  • ppsch: This shellscript receives a file (stdin or by argument) and increases TTL attribute for a given DynamoDB table;
  • cards: A RESTful Rust web server that handles credit/debit cards;
  • aws-poc: A Go application that use some AWS resources among Go programming language;

r1cm3d Github Stats Top Langs

aws-poc's People

Contributors

r1cm3d avatar

Stargazers

 avatar

Watchers

 avatar  avatar

aws-poc's Issues

Create a bucket using AWS Go SDK

Describe the bug
I tried to use something similar to this snippet:

	_, err := svc.CreateBucket(&s3.CreateBucketInput{
		Bucket: aws.String(bucketName),
	})

But it seems that CreateBucket or CreateBucketInput is not working because it did not change bucket param path.

To Reproduce
Steps to reproduce the behavior:

  1. Go to s3_test.go file
  2. Run TestUploadIntegration
  3. See CreateBucket returning an InvalidBucketName error with 400 as status code

Expected behavior
Create the bucket without any error.

Apply gofmt -r in the project

The gofmt command has a -r flag that provides a syntax-aware search and replace, making large-scale refactoring easier

So, I should apply it and check whether the names are good.

Replace if statements

By mistaken, I use this structure:

err := someFunc();
if err != nil {
// treatment here
} 

I could use:

if err := someFunc(); err != nil {
// treatment here
} 

In this case, err just exists in the block context.

Concurrent problem in Makefile

Describe the bug
make run-dep target in Makefile creates the container that will used in local environment. However, while localstack is initializing terraform tries to apply its scripts before localstack is ready.

To Reproduce
Steps to reproduce the behavior:

  1. Run make clean;
  2. Run make run-dep;

Expected behavior
Create all AWS resources

Refact s3_test

There are a lot of duplicated code in this file. It should be refactored.

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.