lib/jets/job/dsl/dynamodb_event.rb in jets-2.3.11 vs lib/jets/job/dsl/dynamodb_event.rb in jets-2.3.12

- old
+ new

@@ -1,7 +1,9 @@ module Jets::Job::Dsl module DynamodbEvent def dynamodb_event(table_name, options={}) + return if ENV['JETS_BUILD_NO_INTERNET'] # Disable during build since jets build tries to init this + stream_arn = full_dynamodb_stream_arn(table_name) default_iam_policy = default_dynamodb_stream_policy(stream_arn) # Create iam policy allows access to queue # Allow disabling in case use wants to add permission application-wide and not have extra IAM policy \ No newline at end of file